how can i make the pane no draggable |
Post Reply |
Author | |
fireflame
Groupie Joined: 15 March 2007 Status: Offline Points: 21 |
Post Options
Thanks(0)
Posted: 01 August 2008 at 4:31am |
the codes are following:
m_paneManager.InstallDockingPanes(this);
m_paneManager.SetTheme(xtpPaneThemeOffice2003); m_paneManager.SetDefaultPaneOptions(xtpPaneNoCloseable | xtpPaneNoFloatable); pPane = m_paneManager.CreatePane( ID_DOCK, CRect(0,0,0,0), xtpPaneDockTop); but the pane still can be dragged
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
|
Hi;
you have to catch XTPWM_DOCKINGPANE_NOTIFY and disable any kind of drag action. See sample codes... |
|
Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
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 |