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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

trapping the closing of a docked window

Thread ID:





2381 Jan 14,2003 02:19 PM UTC Jan 15,2003 12:27 PM UTC WinForms 1
Tags: Tools
Robert N Pardoe
Asked On January 14, 2003 02:19 PM UTC

I am using the docking manager to create an XP Task Bar as a menu on my form that can be pinned or not using the docking manager. I am looking for the event to trap the closing of the docked element. I need to prevent the user closing the 'menu'. Ideally I would like the option of displaying the X or not, rather than trapping the mouse click and then cancelling it. Any ideas appreciated Thanks BOb

Prakash S [Syncfusion]
Replied On January 15, 2003 12:27 PM UTC

Bob, I saw your Direc-Trac support incident and realize that you've found out the solution. I am just posting this for the benefit of others that may be interested. The DockingManager fires the 'DockVisibilityChanged' event whenever a control is closed or shown. This is merely a notification event and does not permit cancellation. The DockingManager, however, has a 'CloseEnabled' property that can be turned off to display controls without the 'Close' button. Prakash Syncfusion, Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon