S
shahaji Bhosle
Hello All
I am working ON Outlook ADDin project.
In that i need some help/hint in adding
event handler when user click on message
in INBOX. I am working on PURE ATL COM
I tried in the follwing way.
some part of my code.
BEGIN_SINK_MAP(CAddin)
SINK_ENTRY_INFO(1, __uuidof(Office::_CommandBarButtonEvents),/*dispid*/
0x01, OnClickButton, &OnClickButtonInfo)
SINK_ENTRY_INFO(2, __uuidof(Office::_CommandBarButtonEvents),/*dispid*/
0x01, OnClickButton2, &OnClickButtonInfo)
SINK_ENTRY_INFO(3, __uuidof(Office::_CommandBarButtonEvents),/*dispid*/
0x01, OnClickMenu, &OnClickButtonInfo)
SINK_ENTRY_INFO(4,__uuidof(Outlook::ApplicationEvents),/*dispinterface*/
,0xf005,OnOptionsAddPages,&OnOptionsAddPagesInfo)
// selection change method in sink map
SINK_ENTRY_INFO(5,__uuidof(Outlook::ExplorerEvents),0xf005,SelectionChan
ge,&SelectionChangeInfo)
END_SINK_MAP()
Any help will be appreciated..
regards
Shahaji
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I am working ON Outlook ADDin project.
In that i need some help/hint in adding
event handler when user click on message
in INBOX. I am working on PURE ATL COM
I tried in the follwing way.
some part of my code.
BEGIN_SINK_MAP(CAddin)
SINK_ENTRY_INFO(1, __uuidof(Office::_CommandBarButtonEvents),/*dispid*/
0x01, OnClickButton, &OnClickButtonInfo)
SINK_ENTRY_INFO(2, __uuidof(Office::_CommandBarButtonEvents),/*dispid*/
0x01, OnClickButton2, &OnClickButtonInfo)
SINK_ENTRY_INFO(3, __uuidof(Office::_CommandBarButtonEvents),/*dispid*/
0x01, OnClickMenu, &OnClickButtonInfo)
SINK_ENTRY_INFO(4,__uuidof(Outlook::ApplicationEvents),/*dispinterface*/
,0xf005,OnOptionsAddPages,&OnOptionsAddPagesInfo)
// selection change method in sink map
SINK_ENTRY_INFO(5,__uuidof(Outlook::ExplorerEvents),0xf005,SelectionChan
ge,&SelectionChangeInfo)
END_SINK_MAP()
Any help will be appreciated..
regards
Shahaji
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!