![]() |
Accelerators |
Post Reply
|
| Author | |
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Topic: AcceleratorsPosted: 19 June 2006 at 11:13am |
|
I'm having a hard time getting accelerators shown in my menu. I'm using
pCommandBars->GetShortcutManager()->SetAccelerators(IDR_MAINFRAME); but no matter what I do my menu has no accelerators :-( It's a very standard MDI application. Help ! |
|
|
Simon HB9DRV
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 June 2006 at 5:06pm |
|
Hi,
Must work! Try to comment LoadCommandBars once. May be it loads previous version...
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2006 at 3:46am |
|
Very odd - if I comment out pCommandBars->GetShortcutManager()->SetAccelerators(IDR_MAINFRAME); then it works!
Nice idea, thanks! |
|
|
Simon HB9DRV
|
|
![]() |
|
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 |