Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Shortcut Keys
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Shortcut Keys

 Post Reply Post Reply
Author
Message
mlosavio View Drop Down
Newbie
Newbie


Joined: 07 November 2005
Location: Italy
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlosavio Quote  Post ReplyReply Direct Link To This Post Topic: Shortcut Keys
    Posted: 07 November 2005 at 3:31am

Hi,

I use CommandBar with Visual Basic 6 in order to upgrade our old toolbar. The problem is that I need to catch CTRL+F4 shortcut key. It looks as if it is not allowed so I have to replace it. Is there a solution?

Thanks in advance for your attention,

Regards,

Marco Losavio

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 07 November 2005 at 1:22pm
Public Const FCONTROL = 8
Public Const VK_F4 = &H73


CommandBars.KeyBindings.Add FCONTROL, VK_F4, ID_FILE_NEW


Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 07 November 2005 at 1:24pm
BTW, this is the MFC forum, try to post ActiveX questions in the Activex forum so that they can get the appropriate answer
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.172 seconds.