![]() |
CXTPDockingPane |
Post Reply
|
| Author | |
solo
Groupie
Joined: 10 November 2007 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPDockingPanePosted: 03 April 2008 at 3:46am |
|
hi,
How can I restrict CXTPDockingPane to show docking pane at the bottom only. Means I do not want to user to drag the pane to left, top and right borders of the main window.
Thanks
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 April 2008 at 4:13am |
|
Him
Catch Action event:
f (wParam == XTP_DPN_ACTION)
{ XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lParam; if (pAction->action == xtpPaneActionDocking) { if (pAction->pDockContainer->GetType() != xtpPaneTypeTabbedContainer && (pAction->dockDirection != xtpPaneDockLeft && pAction->dockDirection != xtpPaneDockRight)) { pAction->bCancel = TRUE; } }
return TRUE;
} |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
solo
Groupie
Joined: 10 November 2007 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 April 2008 at 6:39am |
|
Many Thanks...
|
|
![]() |
|
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 |