![]() |
Do not show buttons on pane's title bar |
Post Reply
|
| Author | |
yoshinaga
Newbie
Joined: 13 February 2007 Location: Japan Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: Do not show buttons on pane's title barPosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 February 2007 at 11:13am |
|
Hi, Call pPane->SetOptions(xtpPaneNoCloseable)
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |