Print Page | Close Window

CXTPCustomizeKeyboardPage problem

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=2311
Printed Date: 10 May 2024 at 7:05am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPCustomizeKeyboardPage problem
Posted By: Alex
Subject: CXTPCustomizeKeyboardPage problem
Date 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



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


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



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