![]() |
Problem with CXTPToolBar |
Post Reply
|
| Author | |
Ashok
Senior Member
Joined: 02 May 2007 Status: Offline Points: 164 |
Post Options
Thanks(0)
Quote Reply
Topic: Problem with CXTPToolBarPosted: 02 May 2007 at 11:08am |
|
Hai,
I am working on the evaluation pack of XtremeToolKit Pro. I have a class which is derived from CToolBar, now I am trying to derive from CXTPToolBar which gives plenty of error messages like SetBarStyle, GetBarStyle, LoadBitmap, GetDockingFrame, GetButtonStyle, SetButtonInfo etc., are undefined. What's the solution? I don't want to add the toolbar.And one more thing is it possible to get the handle to the menu from the commandbar?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 May 2007 at 12:35pm |
|
Hello,
CXTPToolbar is not derived from CToolBar or СToolbarCtrl - we create menu popups/toolbars from simple CWnd. So you need replace some methods you use for standard toolbars. for example insted of GetButtonStyle - pToolBar->GetControl(i)->GetStyle() etc.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |