Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPCustomizeKeyboardPage problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPCustomizeKeyboardPage problem

 Post Reply Post Reply
Author
Message
Alex View Drop Down
Groupie
Groupie
Avatar

Joined: 12 May 2004
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex Quote  Post ReplyReply Direct Link To This Post Topic: CXTPCustomizeKeyboardPage problem
    Posted: 02 June 2005 at 5:36am
Hello,

CXTPCustomizeKeyboardPage won't show any menu items which
were attached to a popup menu.

File        View
- Open       - Status
- Save       - Popup1
- Close         - MenuItem1
                   - MenuItem2
                - Window

The items 'Status' and 'Window' are visible and can be assigned to a key, but 'Popup1' and its children cannot be customized...

Any ideas ?

Alex

Edited by Alex
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: 03 June 2005 at 1:47am

try call

page.AddCategories(nIDResource, TRUE);

 

or more flexible add new menu template, group items as you want and use it as nIDResource.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Alex View Drop Down
Groupie
Groupie
Avatar

Joined: 12 May 2004
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2005 at 3:10am
Oops, thank you. Next time I check the source code also.
You should update the documentation :

CXTPCustomizeKeyboardPage::AddCategories Method (CXTPControls*)Adds categories brunch from Controls.

BOOL AddCategories(
    CXTPControls* pControls
);
Parameters

pControls
Points to a CXTPControls object

Returns
TRUE if successful; otherwise returns FALSE

Class
CXTPCustomizeKeyboardPage Class

Thank you,
Alex
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.172 seconds.