We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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.

Live Chat Icon For mobile
Up arrow icon