Print Page | Close Window

Where is my hot key?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12254
Printed Date: 14 September 2025 at 12:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Where is my hot key?
Posted By: Knuth
Subject: Where is my hot key?
Date Posted: 25 September 2008 at 5:21am
When I built my program with Codejock.It seemed that all main menu did not display the hot key that I typed in resource editor.The same problem was  happend in Codejock's samples,for example syntax edit sample\syntax editor.




Replies:
Posted By: mgampi
Date Posted: 25 September 2008 at 9:00am
Hi;

Try

pCommandBars->GetShortcutManager()->UseSystemKeyNameText(TRUE);


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: Oleg
Date Posted: 26 September 2008 at 2:49am
Hi,
 
Add line
pCommandBars->GetShortcutManager()->SetAccelerators(IDR_MAINFRAME);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Knuth
Date Posted: 26 September 2008 at 9:19pm
Thanks!
1. 
pCommandBars->GetShortcutManager()->UseSystemKeyNameText(TRUE);
I have tried it, but it still didn't display the hot key!

2.
pCommandBars->GetShortcutManager()->SetAccelerators(IDR_MAINFRAME);
It is cool, but some hot key still were not  displayed in my project.


Posted By: Knuth
Date Posted: 26 September 2008 at 9:42pm
My project is a multiple document interface.There are two document type, so there are three main menu.I have tried to 'SetAccelerators' in every frame, but some hot key still were not displayed. Is there a way to display all the hot key as I typed in resource editor?



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