Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - how can i make the pane no draggable
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how can i make the pane no draggable

 Post Reply Post Reply
Author
Message
fireflame View Drop Down
Groupie
Groupie


Joined: 15 March 2007
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote fireflame Quote  Post ReplyReply Direct Link To This Post Topic: how can i make the pane no draggable
    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
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.157 seconds.