Print Page | Close Window

Missing menu items in CXTPCustomizeCommandsPage

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=8709
Printed Date: 02 March 2025 at 3:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Missing menu items in CXTPCustomizeCommandsPage
Posted By: rock
Subject: Missing menu items in CXTPCustomizeCommandsPage
Date Posted: 07 November 2007 at 3:53pm
I'm currently using Xtreme ToolkitPro v11.1.3 (I used 11.2 briefly but had to go back to 11.1.3 due to problems with LoadCommandBars()), anyway none of my sub menus (popups) appear in in the Customize dialog under the Commands tab.  I see the title of the popup and an arrow, but none of the items in the popup.
 
I see similar behavior in the "Common Controls" sample under the File menu for the Print popup.  The word "Print" appears with an arrow next to it, but none of the items under Print are shown.  Also, ironically, the "Customize Dialog" samle does not show the View Toolbars popup menu only the word Toolbars.  The "Actions Sample" works correctly for the Edit Format popup, the title Format appears with all items visible (Bold, Italic, & Underline).
 
All of my popup menus have icons associated with them.  Any help would be appreciated.



Replies:
Posted By: Oleg
Date Posted: 08 November 2007 at 1:09am
Hi,
 
just set second parameter:
 
CXTPCustomizeCommandsPage* pCommands = cs.GetCommandsPage();
pCommands->AddCategories(IDR_MAINFRAME, TRUE);


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


Posted By: rock
Date Posted: 08 November 2007 at 4:44pm
Oh, duh.  I had just duplicated the code from the Customize sample and didn't pay any attention to the function parameters.
 
Works fine now.  Thanks



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