S
semedao
Hi all,
I try to replace the regular add file dialog that open when clicking in the
Attach button.
I used code that :
1. get fired whenever I open new Email form (NewInspector)
2. get the CommandBar using
InsertCommandBar = Inspector.CommandBars["Insert"];
3. using
(CommandBarButton)InsertCommandBar.FindControl(myMissing, id, myMissing,
myMissing, true);
to get the CommandBarButton that is clicked to insert new attachment.
and then I register to it's _CommandBarButtonEvents_ClickEventHandler
it's work well when the id paramenter whas 1079
than in other outlook languges versions , or other windows language version
it's stop to work because or the :
InsertCommandBar = Inspector.CommandBars["Insert"];
statement return null , or the id was not 1079....
my question...
how can I determine for the correct values that are the same in all versions
to handle it?
and also , how can I catch the insert attachment button that's appear in the
side of the subject ?
I try to replace the regular add file dialog that open when clicking in the
Attach button.
I used code that :
1. get fired whenever I open new Email form (NewInspector)
2. get the CommandBar using
InsertCommandBar = Inspector.CommandBars["Insert"];
3. using
(CommandBarButton)InsertCommandBar.FindControl(myMissing, id, myMissing,
myMissing, true);
to get the CommandBarButton that is clicked to insert new attachment.
and then I register to it's _CommandBarButtonEvents_ClickEventHandler
it's work well when the id paramenter whas 1079
than in other outlook languges versions , or other windows language version
it's stop to work because or the :
InsertCommandBar = Inspector.CommandBars["Insert"];
statement return null , or the id was not 1079....
my question...
how can I determine for the correct values that are the same in all versions
to handle it?
and also , how can I catch the insert attachment button that's appear in the
side of the subject ?