Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Problem with CXTPToolBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with CXTPToolBar

 Post Reply Post Reply
Author
Message
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post Topic: Problem with CXTPToolBar
    Posted: 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?
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 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
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.047 seconds.