Pane Move&Size locking |
Post Reply |
Author | |
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
Posted: 16 August 2004 at 2:56am |
Hello,
Is there a function to lock 1) Pane moving, sizeing & docking 2) Toolbar moving Jimmy |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
1. CXTPDockingPaneManager::LockSplitters
2. pToolBar->EnableDocking. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
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
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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)
|
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
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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)
|
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 |