Posted 20 years ago by calbrecht
Avatar
Is there anyway to remove the close button from a toolbar window? We have an autohide window that should not be closed in our application.

Thanks!
Chad Albrecht

Comments (4)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Sure use DWToolWindow.CanHide.


Actipro Software Support

Posted 20 years ago by calbrecht
Avatar
The toolwindow is in autohide mode on the side of the screen. I am looking for a way to remove the X (close) button from the title bar. This way it still hides when not in use, and cannot be closed.

Thanks!

[ 03-26-2004: Message edited by: calbrecht ]
Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Right, I believe that if you set CanHide to false it should do that.


Actipro Software Support

Posted 20 years ago by calbrecht
Avatar
Thanks!!!
After looking at my code, I realized I was setting the property in the wrong spot. I had custom layout data loading the window. It was not set in the constructor. <IMG SRC="wink.gif" border="0"> ooopps!!

That works great!!!

-Chad Albrecht

[ 03-26-2004: Message edited by: calbrecht ]
The latest build of this product (v2.0.0208) was released 19 years ago, which was after the last post in this thread.