Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Add class derived from CToolbar as CXTPControl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add class derived from CToolbar as CXTPControl

 Post Reply Post Reply
Author
Message
Ayub View Drop Down
Newbie
Newbie


Joined: 08 January 2008
Location: India
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ayub Quote  Post ReplyReply Direct Link To This Post Topic: Add class derived from CToolbar as CXTPControl
    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.
 
 
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: 11 March 2008 at 6:45am
Hi,
Obviously you can't add CXTPControl class to standard ToolBar.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Ayub View Drop Down
Newbie
Newbie


Joined: 08 January 2008
Location: India
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ayub Quote  Post ReplyReply Direct Link To This Post Posted: 11 March 2008 at 7:08am

Any solution?

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.141 seconds.