Print Page | Close Window

Shortcut Keys

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=3163
Printed Date: 04 March 2025 at 5:12pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Shortcut Keys
Posted By: mlosavio
Subject: Shortcut Keys
Date 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




Replies:
Posted By: SuperMario
Date 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




Posted By: SuperMario
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net