Print Page | Close Window

Add class derived from CToolbar as CXTPControl

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=9852
Printed Date: 24 June 2024 at 7:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Add class derived from CToolbar as CXTPControl
Posted By: Ayub
Subject: Add class derived from CToolbar as CXTPControl
Date Posted: 11 March 2008 at 5:29am
We have a method by which we can add CMenu as CXTPControl by 
CXTPControl* AddMenuItem(
    CMenu* pMenu, 
    int nIndex
);
 
Do we have similar method for CToolbar? In our application we have our own class for toolbar which is derived from CToolbar.
We can not change the base class to CXTPToolbar because it gives lot of errors.
 
 



Replies:
Posted By: Oleg
Date Posted: 11 March 2008 at 6:45am
Hi,
Obviously you can't add CXTPControl class to standard ToolBar.


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


Posted By: Ayub
Date Posted: 11 March 2008 at 7:08am

Any solution?




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