Commandbar in Mdichild |
Post Reply |
Author | |
cory
Groupie Joined: 31 August 2004 Location: Italy Status: Offline Points: 26 |
Post Options
Thanks(0)
Posted: 31 August 2004 at 4:37am |
Hello everybody I'm new in this post, hope u can help me :-) I use the Commandbar ActiveX v9.10 with vb6 and i get this problem: I use the commandbar in a MdiChild but it doesn't work if i press the ALT+(Key).It works fine in a MdiContainer, but in MdiChild unfortunately no.Is possible to get the same behavior in child forms? thanks to everyone. Corrado |
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
Unless something has changed in the latest release that I'm unaware of, this is a known issue with using multiple instances of the CommandBars object. The parent CommandBars object will interpret ALL shortcut keys. Even if the parent CommandBars object doesn't have an accelerator defined for the specified keystroke, the CommandBars object on the child window never receives notification of the keypress. One workaround is to create an accelerator key in the Parent object that, when executed, will seek out the active MDI Child and route the command to it instead. The process, however, doesn't work well if you allow the user to customize keystrokes in the CommandBars object on the MDI Child because Codejock doesn't expose any method to know which accelerators have been assigned. |
|
cory
Groupie Joined: 31 August 2004 Location: Italy Status: Offline Points: 26 |
Post Options
Thanks(0)
|
Thank u for help! I'm thinking about writing some code in the keydown event of the child forms as a temporary solution. I hope in the future something will change...otherwise i call my function :-) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |