Guides & Tutorials (beta)

Adding Customize command to your Toolbars menu

by Kirk Stowell Visual C++ Created on 11/16/2007  |  Updated on 08/28/2024 0/5 ( 0 votes )

To add the Customize command to the Toolbars’ popup menu for your application, add a new menu command to your menu resource titled Customize’.  Set its command ID equal to 35001, or you can use the following command ID which is already defined in toolkit:

#define XTP_ID_CUSTOMIZE 35001

Visual Studio resource editor...
Customize Item

If you plan on using XTP_ID_CUSTOMIZE instead of 35001, you will need to add the Toolkit Pro resources to your project.   To do so, select the resource tab in Visual Studio and right click on the resource tree and select "Resource Includes" as shown here:

Right Click Resource

Once you have the "Resource Includes" dialog open, you will need to add #include "XTPResource.h" to the list of read only symbol directives and close the dialog by pressing the "OK" button:

Resource Includes

User Comments

No comments yet, sign in to comment.

Secure Transactions

Online transactions are secure and protected.


Ssl seal 1
This site is protected by Trustwave's Trusted Commerce program
CompliAssure Secured

Money Back Guarantee

If you are not 100% happy with your purchase within 30 days, you can return it for any reason. Your satisfaction is our priority!


Satisfication Guarantee

Contact sales@codejock.com for more details.