Preventing a Docked window from closing or knowing when it is...

D

Dewi Bygrave

I have several custom docked windows (a Tree control and a List control) that
I would like to prevent the user from closing ideally.

If this is not possible I would like to know when they have been closed so
that I can enable or disable toolbar buttons that reshow them...
 
A

Al Edlund

you might consider monitoring for the event and then overriding or just
redrawing the window.
al
 
D

Dewi Bygrave

I have tried monitoring using the 'QueryCancelWindowClose Event' but this did
not get fired when i closed one of the docking windows. Which obviously means
I don't know when to redraw the window.

I was hoping that there may be some neat way of removing the close x button
from the docking window.
 
Top