![]() |
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)
Quote Reply
Topic: how can i make the pane no draggablePosted: 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: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 August 2008 at 7:04am |
|
Hi;
you have to catch XTPWM_DOCKINGPANE_NOTIFY and disable any kind of drag action. See sample codes... |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
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 |