How to prevent dockable window from floating?

Is there a way to prevent a user from floating a dockable window? I'm responding to the DockAllow event, but this event is never fired when the user moves a window from a docked state to a "floated" state. For this reason, I never have a chance to set the Cancel property to true. Any ideas?

2 Replies

CW Charles Wolfersberger March 7, 2003 07:24 AM UTC

Have you looked at the DragAllow event? Chuck


TA Thomas A. Anderson, Program Writer March 7, 2003 12:33 PM UTC

Ah, I must have missed that. Seems to work. Thanks.

Loader.
Up arrow icon