![]() |
Pane Move&Size locking |
Post Reply
|
| Author | |
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Topic: Pane Move&Size lockingPosted: 16 August 2004 at 2:56am |
|
Hello,
Is there a function to lock 1) Pane moving, sizeing & docking 2) Toolbar moving Jimmy |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 August 2004 at 11:55am |
|
1. CXTPDockingPaneManager::LockSplitters
2. pToolBar->EnableDocking. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 August 2004 at 2:18am |
|
LockSplitter only lock sizing, but i will also lock moving a pane to
another panecontainer. Or docking a pane on a other position.
Jimmy |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 August 2004 at 2:59pm |
|
LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam) if (wParam == XTP_DPN_ACTION) pAction->bCancel = TRUE; return TRUE; } return FALSE; } |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
developer
Newbie
Joined: 05 August 2004 Status: Offline Points: 26 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 August 2004 at 5:43pm |
|
There is a bug with the new toolkit and this feature. If I use the code above but have
m_paneManager.SetShowDockingContextStickers(TRUE); Then you can still dock. Thanks. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 August 2004 at 1:17am |
|
Don't use this code
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
developer
Newbie
Joined: 05 August 2004 Status: Offline Points: 26 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 August 2004 at 9:29am |
|
HAHAHA gee thanks. What code would you recommend then? I would like the same effect. When the splitters are locked I would like the entire layout to be locked, meaning that you can't float the panes. (closing would be ok).. Thanks.
Edited by developer |
|
![]() |
|
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 |