Print Page | Close Window

Accelerators

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=4435
Printed Date: 03 July 2024 at 4:16am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Accelerators
Posted By: Simon HB9DRV
Subject: Accelerators
Date Posted: 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 Cry !



-------------
Simon HB9DRV



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


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



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