K
KarthikonIT via OfficeKB.com
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.
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.