![]() |
How disable docking pane change size |
Post Reply
|
| Author | |
stephen_hyc
Newbie
Joined: 27 January 2005 Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Topic: How disable docking pane change sizePosted: 02 February 2005 at 1:01am |
|
how to make docking pane disable to change its size.I mean to fix its size. |
|
![]() |
|
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 February 2005 at 2:45am |
|
Hi,
Pane send a Notify to MainFrame LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam) here you can handle the action if (wParam == XTP_DPN_ACTION) { XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lParam; switch(pAction->action) { case xtpPaneActionClosing: case xtpPaneActionClosed: pAction->bCancel = TRUE; break; } return TRUE; } Test it for sizeing, i'm not realy sure. Jimmy |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 February 2005 at 4:29am |
|
See latest Pane sample
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
stephen_hyc
Newbie
Joined: 27 January 2005 Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 February 2005 at 7:25pm |
|
can you give me a link. I can't find the solution from any sample existed.
|
|
![]() |
|
stephen_hyc
Newbie
Joined: 27 January 2005 Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 February 2005 at 7:38pm |
|
i see the sample.but after you hide the pane and then make it show again, you will find it can be resized again . how to deal with it.
|
|
![]() |
|
stephen_hyc
Newbie
Joined: 27 January 2005 Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 February 2005 at 10:30pm |
|
i mean in the state of hide , how can i make the docking pane unable to resize.
|
|
![]() |
|
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 |