Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Close button on floating pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Close button on floating pane

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


Joined: 16 May 2007
Location: United States
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote rconn Quote  Post ReplyReply Direct Link To This Post Topic: Close button on floating pane
    Posted: 27 December 2007 at 2:51pm
I have some windows that I want the users to be able to undock / move around / hide, but I don't want them closed.
 
I use SetDefaultPaneOptions( xtpPaneNoCloseable ), which keeps the close button from appearing when the window is docked -- but when the window is floating the disabled X appears in the corner.  Is there a means to hide / remove the X altogether?  (My users are complaining that they can't click on the X!)
 
Thanks for your help.
 
Rex Conn
JP Software
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 19 February 2008 at 2:06pm
m_paneManager.SetThemedFloatingFrames(TRUE);
 
That did the trick for me!
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.141 seconds.