Print Page | Close Window

CXTPMenuBar and accelerator string

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=898
Printed Date: 18 July 2025 at 9:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPMenuBar and accelerator string
Posted By: yoavo
Subject: CXTPMenuBar and accelerator string
Date Posted: 29 June 2004 at 6:29am

Hi,

In my application I create my menu dynamically, and attach a CMenu object to a CXTPMenuBar object (using CXTPMenuBar::LoadMenu). My problem is that if a menu item contains accelerator, the text of the accelerator is not shown:

For example: I have a menu item which its string is: "aa\tCtrl+A". In the menu I see only "aa" without the "Ctrl+A".

Can someone please explain ?

thanks, Yoav.




Replies:
Posted By: Oleg
Date Posted: 29 June 2004 at 2:02pm
Accelerators must be assigned to CMainFrame.  See Accelearor item in the resource tab.

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



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