![]() |
Handle Key board event for Office::msoControlComboBox
Hi,
I m creating a plugin in MS Outlook in VC++ I have implemented the "_IDTExtensibility2" & "IRibbonExtensibility" interface I have added Office::msoControlComboBox control in the Outlook command bar. I have implemented Button click event for the buttons I have added in Outlook command bar. I would like to know how to handle the event when the user types in the editbox of "Office::msoControlComboBox" and hit ENTER KEY in Keyboard. //SAMPLE CODE SNIPPET. .h file BEGIN_SINK_MAP(CButtonWrapper) SINK_ENTRY_INFO(1, __uuidof(Office::_CommandBarButtonEvents),0x1, OnButtonClick , &OnButtonClickInfo) END_SINK_MAP() .cpp HRESULT __stdcall CButtonWrapper::OnButtonClick(LPDISPATCH lpBtnDisp, VARIANT_BOOL *vbCancelDefault) { //Implementation for button click event handler. } Thanks in advance. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/201001/1 |
All times are GMT +1. The time now is 12:32 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com