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

FloatingForm of Docking Package

Thread ID:

Created:

Updated:

Platform:

Replies:

78364 Dec 10,2008 03:54 PM Dec 30,2008 09:51 AM Windows Forms 13
loading
Tags: Tools
Yezdi Parvez
Asked On December 10, 2008 03:54 PM

How can I make the Floating window to behave as a normal window.

what I mean is it should remain in Normal State even when the Main Applcication containing the docking manager is Minimised.


Fathima Shalini P [Syncfusion]
Replied On December 11, 2008 05:09 AM

Hi Yezdi,

Thank you for your interest in Syncfusion Products.

When a application that has floating control is minimized, the floating control will also get minimized. It is the default behaviour and it is not possible to override this behaviour. You can find this bahaviour in Visual Studio also.

Please let me know if any concerns.

Regards,
Fathima


Yezdi Parvez
Replied On December 11, 2008 09:18 AM

I know that's the default behavior, but since you are a component library you should provide this functionality. It is very useful in trading applications where the user can float a window outside, place it on any monitor and then minimize the main application.

Thanks anyways.


Fathima Shalini P [Syncfusion]
Replied On December 12, 2008 05:00 AM

Hi Yezdi,

Thank you fo your update.

Add support to display floating control when the main application is minimized

On our initial analysis we have found that the above issue could be a feature request. We have forwarded this to our developers for more analysis. We will getback to you on or before December 19th 2008.

Please let me know if you have any concerns.

Regards,
Fathima


Yezdi Parvez
Replied On December 12, 2008 11:59 AM

Thank you... really looking forward to get this as a feature in the current docking package. Will wait patiently :-)


Yezdi Parvez
Replied On December 19, 2008 12:04 PM

Hi Syncfusion,

Anything on this.

Thanks,
Yezdi


Fathima Shalini P [Syncfusion]
Replied On December 22, 2008 07:49 AM

Hi Yezdi,

Thank you for your patience.

On further analysis, we have found that the docking panel can be displayed when the HostForm is minimized in the Form_Layout event. Please refer to the below code snippet and the sample given below:


private void Form1_Layout(object sender, LayoutEventArgs e)
{
if (this.WindowState == FormWindowState.Minimized)
{
if (dockingManager1.IsFloating(panel1))
{
FloatingForm ff = panel1.Parent.Parent as FloatingForm;
ff.WindowState = FormWindowState.Normal;
ff.Visible = true;
}
}
}


http://websamples.syncfusion.com/samples/Tools.Windows/F78364/main.htm

Please let me know if any concerns.

Regards,
Fathima


Yezdi Parvez
Replied On December 22, 2008 07:59 AM

Hi,

this will work... but how will I keep track of all the panels that are floating. I guess I can get a list from Docking manager. But this is a work around... It should be just a property on the DockingManager not to minimise the floating windows.

Agreed?

Yezdi


Mano J [Syncfusion]
Replied On December 23, 2008 09:10 AM

Hi Yezdi,

This behavior was intentionally done for docking manager long back, that floating forms should be minimized when parent form is minimized.

To access all the floating controls, you can use the following code to display them on top when parent form is minimized.


private void Form1_Layout(object sender, LayoutEventArgs e)
{
foreach(Control ctrl in dockingManager1.ControlsArray)
{
if (this.WindowState == FormWindowState.Minimized)
{
if (dockingManager1.IsFloating(ctrl))
{
FloatingForm ff = ctrl.Parent.Parent as FloatingForm;
ff.WindowState = FormWindowState.Normal;
ff.Visible = true;
}
}
}
}


Best Regards,
Mano


Yezdi Parvez
Replied On December 23, 2008 02:57 PM

Hi Mano,

As i said this is a workaround... If you notice by doing this, when the main application is minimised and the floating forms are in Normal State, the only way to restore (bring to normal state) the main application is to right-click the minimised button of the application on the taskbar and hit Restore.

Thats not very good.

So finally... just let me know whether you guys are going to provide a property on the Docking Manager to support this feature?

Simple yes or no

Thanks,
Yezdi


Yezdi Parvez
Replied On December 24, 2008 02:10 PM

Anything???

YES / NO


Yezdi Parvez
Replied On December 29, 2008 04:24 PM

Hi SyncFusion,

Please let me know the answer.

Thanks,
Yezdi


Fathima Shalini P [Syncfusion]
Replied On December 29, 2008 11:29 PM

Hi Yezdi,

Thank you for your patience.

Currently we don’t have any immediate plan for implement this feature. This feature is expected to be implemented after three months only.

Please let me know if any concerns.

Regards,
Fathima


Administrator [Syncfusion]
Replied On December 30, 2008 09:51 AM

Hello Yezdi,

Please note that since you are a customer of Syncfusion, the best way to receive technical support is through Direct Trac. You can log in with your email address and password. Here is the link: https://www.syncfusion.com/Support/DirectTrac/logon.aspx?URL=/Support/DirectTrac/default.aspx

Best regards,
Holley


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

;