Floating WinForms windows (like IDE Delphi7)

I want to customize WinForm so that it looks like Delphi7 IDE. This basically means that the window has no background (the desktop is showing through) and child windows are floating around.

Here's a sample image: alt text

I can work with floating windows, but how do I navigate to the main window (menu bar and toolbar)? What properties of WinForm are needed to get this layout? I cannot get rid of the client area of ​​the window.

thank

+2


source to share


2 answers


Why can't you get rid of the client area? Just resize the main shape so that it is as thin as you can make it.

You may be using floating windows as UserControls in the main collection of controls. If so, you can handle it in two ways:



  • Implement floating windows as real windows. Show them using "frmToolWindows.Show (this);" (this will keep them always on top of your main shape).
  • If you need to leave the float as UserControls, you can make the client area of ​​your main form transparent by setting the form's TransparencyKey property to some arbitrary color (for example, Color.Red) and then setting the form's BackColor property to the same color. This will make your form transparent and clickable.
+6


source


Please do not create a user interface. This is very non-standard and doesn't provide anything in terms of usability. You can simplify everything by keeping it all in one window like Visual Studio.



-4


source







All Articles