![]() |
Where is my hot key? |
Post Reply
|
| Author | |
Knuth
Groupie
Joined: 01 March 2008 Location: China Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Topic: Where is my hot key?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.
![]() |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 September 2008 at 2:49am |
|
Hi,
Add line
pCommandBars->GetShortcutManager()->SetAccelerators(IDR_MAINFRAME);
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Knuth
Groupie
Joined: 01 March 2008 Location: China Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
Knuth
Groupie
Joined: 01 March 2008 Location: China Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
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?
|
|
![]() |
|
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 |