Print Page | Close Window

Do not show buttons on pane's title bar

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=6427
Printed Date: 12 November 2025 at 9:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Do not show buttons on pane's title bar
Posted By: yoshinaga
Subject: Do not show buttons on pane's title bar
Date Posted: 15 February 2007 at 9:06am
Hello
 
When I created a pane,
 
 int nID = ++m_nCount;
 CXTPDockingPane* pwndPane = m_paneManager.CreatePane(
  nID, CRect(0, 0,200, 120), direction, pNeighbour);
The pane has one pin button and on close button on the right top.
The pin button does not work well and I do not need the close button.
So how I can create a pane without that two buttons?
 
Incidentally, how to add a new button on the pane's title bar?
 
Thanks
 



Replies:
Posted By: Oleg
Date Posted: 15 February 2007 at 11:13am

Hi,

Call pPane->SetOptions(xtpPaneNoCloseable)


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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