Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Shortcut Key Issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Shortcut Key Issue

 Post Reply Post Reply
Author
Message
ScottW View Drop Down
Groupie
Groupie


Joined: 02 August 2005
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote ScottW Quote  Post ReplyReply Direct Link To This Post Topic: Shortcut Key Issue
    Posted: 07 February 2017 at 12:09pm
I have an MDI app with docking panes, some of which contain forms where the user can interact. I also have a menu bar with a few shortcut keys, one of which is Ctrl-C for Edit, Copy. When the command bars execute event fires for this action, I can see if there is an ActiveForm and send the command there. However, if the focus is on a docking panel form, the key is captured by the toolbar and the control on the docking panel form never sees it. I can't tell in the execute event where to send the command in  this case. I thought that setting the KeyBindings DisableOnCapture property to True would fix this, but that doesn't seem to change anything at all. There may or may not actually be an active child window open, but if the focus is in the docking panel form, I need this command to only go there.

Any suggestions?


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.170 seconds.