Print Page | Close Window

how can i make the pane no draggable

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=11686
Printed Date: 13 May 2025 at 10:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how can i make the pane no draggable
Posted By: fireflame
Subject: how can i make the pane no draggable
Date 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



Replies:
Posted By: mgampi
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net