Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Missing menu items in CXTPCustomizeCommandsPage
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Missing menu items in CXTPCustomizeCommandsPage

 Post Reply Post Reply
Author
Message
rock View Drop Down
Groupie
Groupie


Joined: 27 October 2005
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote rock Quote  Post ReplyReply Direct Link To This Post Topic: Missing menu items in CXTPCustomizeCommandsPage
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
rock View Drop Down
Groupie
Groupie


Joined: 27 October 2005
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote rock Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.