Click on a tab of a pane event |
Post Reply |
Author | |
yoavo
Senior Member Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Posted: 03 November 2005 at 7:36am |
Hi, Is there a way to handle the event of clicking a tab item of a pane (in AutoHide mode) ? Yoav. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Here are some hints: 1. Override CXTPDockingPaneManager and its OnCreatePane: class CDockingPaneManager : public CXTPDockingPaneManager protected: };
2. if type == xtpPaneTypeAutoHidePanel return custom derived CXTPDockingPaneAutoHidePanel class. 3. catch in csutom CDockingPaneAutoHidePanel its OnLButtonDown void CDockingPaneAutoHidePanel::OnLButtonDown(UINT /*nFlags*/, CPoint point) } else
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
yoavo
Senior Member Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
|
Hi Oleg, I tried to follow your instructions, but I have problem in deriving from CXTPDockingPaneAutoHidePanel because its CTOR is private. Can you advise ? Yoav. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
I think you have quite old ToolkitPro version. In last versions it was protected. Change your sources to make it protected and rebuild library |
|
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 |