ToolBar close
-
I have a class derived from CToolBar in a CFrame window. My problem is that I don't know how to tell if the user has closed the toolbar with the close button while it is floating. I have tried providing a OnClose message handler but it never gets called. Any help would be greatly appreciated. Thanks in advance.
-
I have a class derived from CToolBar in a CFrame window. My problem is that I don't know how to tell if the user has closed the toolbar with the close button while it is floating. I have tried providing a OnClose message handler but it never gets called. Any help would be greatly appreciated. Thanks in advance.
Maybe handle the WM_SYSCOMMAND message, looking for the SC_CLOSE command.
[
](http://www.canucks.com)Sonork 100.11743 Chicken Little "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 Within you lies the power for good - Use it!