HighTechTalks DotNet Forums  

How to process shortcut defined in ActiveToolbars by code

Dotnet VJSharp microsoft.public.dotnet.vjsharp


Discuss How to process shortcut defined in ActiveToolbars by code in the Dotnet VJSharp forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Diken
 
Posts: n/a

Default How to process shortcut defined in ActiveToolbars by code - 05-24-2005 , 01:14 AM






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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.