![]() |
CXToolBar |
Post Reply
|
| Author | |
denczek
Newbie
Joined: 06 August 2004 Status: Offline Points: 27 |
Post Options
Thanks(0)
Quote Reply
Topic: CXToolBarPosted: 07 July 2006 at 5:15pm |
|
I am using CXToolBar in an MDI child window. I have 2 issues:
1 - How can I get mouse up events from the buttons on the toolbar?
2 - How do I get tooltips to display?
Thanks greatly,
Michael
|
|
![]() |
|
Barto
Groupie
Joined: 27 February 2005 Location: Germany Status: Offline Points: 60 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 July 2006 at 8:47am |
|
you have to derive your mdi child window from CXTPFrameWndBase<CMDIChildWnd> instead of CMDIChildWnd.
I guess tooltips will then work automatically and you can use standard ON_COMMAND or ON_XTP_COMMAND message handlers to handle button clicks from the toolbar.
|
|
![]() |
|
denczek
Newbie
Joined: 06 August 2004 Status: Offline Points: 27 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 July 2006 at 10:08am |
|
The MDI child windows are currently derived from CXTMDIChildWnd. And I don't see CXTPFrameWndBase in version 4.1 of the toolkit... I have not yet upgraded to the new version due to lack of forward compatability.
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 July 2006 at 4:01pm |
|
CXTP classes are from the ToolkitPro
|
|
![]() |
|
denczek
Newbie
Joined: 06 August 2004 Status: Offline Points: 27 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 July 2006 at 12:18am |
|
Any ideas?
|
|
![]() |
|
denczek
Newbie
Joined: 06 August 2004 Status: Offline Points: 27 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 July 2006 at 1:28pm |
|
I was able to get the tooltips working, but no luck with intercepting the WM_LBUTTONUP message from one of the buttons on the toolbar...
|
|
![]() |
|
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 |