D
Duncan Bates
I'm trying to setup two coomand bar buttons in my extension using C++/ATL.
CFilter handles the OnConnection, and creates the aditional toolbar. This
works fine, but I'm having problems setting up the Sink interface for both
buttons.
I'm trying to do this through the IDispEventSimpleImpl interface. I subclass
CFilter from this interface, setup the SINK_ENTRY_INFO for both, but can't
advice the buttons.
OnConnection(...) {
DispEventAdvice(button1,...); works fine
DispEventAdvice(button2,...); Asserts the application
}
Does anyone have some example code to share to accopmlish this (.Net 2003)
Duncan
CFilter handles the OnConnection, and creates the aditional toolbar. This
works fine, but I'm having problems setting up the Sink interface for both
buttons.
I'm trying to do this through the IDispEventSimpleImpl interface. I subclass
CFilter from this interface, setup the SINK_ENTRY_INFO for both, but can't
advice the buttons.
OnConnection(...) {
DispEventAdvice(button1,...); works fine
DispEventAdvice(button2,...); Asserts the application
}
Does anyone have some example code to share to accopmlish this (.Net 2003)
Duncan