I'm using microsoft Visual J++ 6 SP5, ActiveToolbars is a third party menu
and toolbar component provided by Infragistics (
www.infragistics.com). I want
to trigger the shortcut defined in ActiveToolbars instance. I find that
com.ms.wfc.ui.Control.processCmdKey(MSG msg, int keyData) and
com.ms.wfc.app.SendKeys.sendKeys(String keys)
may be used to simulate shortcut operation. It works well with Microsoft
MainMenu and button. When calling the above method, the shortcut or
accelerator key will be invoked, but when working with ActiveToolbars, it has
no effect. The ActiveToolbars can the shortcut when typing shortcut on the
keyboard.
Would you please how to process the shortcuts defined in ActiveToolbars
by code? I appreciate your help.
Best Regards