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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable float in docking window

Thread ID:

Created:

Updated:

Platform:

Replies:

595 Jul 13,2002 01:53 PM UTC Jul 24,2002 05:21 AM UTC WinForms 3
loading
Tags: Tools
Ries Vriend
Asked On July 13, 2002 01:53 PM UTC

Hi, I'm currently developing an app with a tabbed MDIContainer main form with a number of docking windows on it. I have not yet figured out how to accomplish the following effects: • Disable the floating dock-state. We always want the docked controls docked and not floating. • Specify a minimum visible height or width for a docked control. We want the control displaying the 'dynamic help' to be always fixed to the bottom border of the form and visible to novice users. I still would like to make it a docking control as opposed to a plain panel and a splitter, as making it docked integrates better in the look-and-feel of the other docked windows on the form (splitter border style, caption bar, etc.). Any ideas? Ries

Prakash S [Syncfusion]
Replied On July 13, 2002 05:40 PM UTC

Ries, The docking windows implemenation does not have the functionality for disabling the float capability; similar to the VS.NET IDE it only has the capability for disabling docking. Unfortunately, at present, it does not have the functionality to provide a minimum/restricted sizing. I have filed a request and we will do our best to provide these features in a future version of Essential Tools. Regards, Prakash Syncfusion, Inc.,

Arif Momin
Replied On July 17, 2002 01:53 PM UTC

Ries, Try this as a workaround. In the DockStateChanged event of the docking manager, use the following code: -------------------------------- if(dmMenu.IsFloating(pnMenu)) { dmMenu.DockControl(this.pnMenu, this, Syncfusion.Windows.Forms.Tools.DockingStyle.Left, pnMenu.Width); } ------------------------------------ NOTE: dmMenu is an instance of DockingManager class pnMenu is an instance of Panel class ARif. > Hi, > > I'm currently developing an app with a tabbed MDIContainer main form with a number of docking windows on it. > > I have not yet figured out how to accomplish the following effects: > > • Disable the floating dock-state. We always want the docked controls docked and not floating. > • Specify a minimum visible height or width for a docked control. We want the control displaying the 'dynamic help' to be always fixed to the bottom border of the form and visible to novice users. I still would like to make it a docking control as opposed to a plain panel and a splitter, as making it docked integrates better in the look-and-feel of the other docked windows on the form (splitter border style, caption bar, etc.). > > Any ideas? > > Ries >

Ries Vriend
Replied On July 24, 2002 05:21 AM UTC

Hi, I've found a workaround for this by deriving from DockingManager, see attachment. Causes some screen flicker but it retains the current position of the window that was undocked. -Ries

CONFIRMATION

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.

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

;