Print Page | Close Window

DockingPane SetOptions seem to be ignored

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=18811
Printed Date: 19 June 2025 at 3:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DockingPane SetOptions seem to be ignored
Posted By: Mk1
Subject: DockingPane SetOptions seem to be ignored
Date Posted: 10 August 2011 at 9:47am

I've got a CXTPDockingPane I'm trying to make both unhidable and unfloatable. 


 CXTPDockingPane* pane = m_paneManager.CreatePane( VIEW_BLA , CRect(0, 0, 100, 100), xtpPaneDockTop);
 if (!m_pWndBar )
{
  m_pWndBar = new CBlaPaneEx(this);
  m_pWndBar->Create(_T("STATIC"), NULL, WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS, CXTPEmptyRect(), this, 0);
  m_pWndBar->LoadState(sKey.c_str(),0,0);
  pane->SetOptions(0 | xtpPaneNoFloatable | xtpPaneNoHideable | xtpPaneNoCloseable | xtpPaneNoFloatableByTabDoubleClick | xtpPaneNoFloatableByCaptionDoubleClick);
}


Yet, I can hide if from it's tab right click and drag it off the pane container and float it.  I'm trying to make this pane unmovable. 


Any suggestions?


Codejock  15.1.2




Replies:
Posted By: Mk1
Date Posted: 14 August 2011 at 8:01am
You guys on vacation? I haven't seen a post in reply to anyone in a couple days. 


Posted By: Mk1
Date Posted: 30 August 2011 at 12:35pm
Not to be a pain but, I bought the library and was hoping for some support.  Even telling me "it's broken" would be better then just leaving me hanging here. 



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