Ok if i have a form I know there are panels and grids to help align .... but is there a WINDOW that is moveable..... and can be minimized inside the form....
thanks..
Printable View
Ok if i have a form I know there are panels and grids to help align .... but is there a WINDOW that is moveable..... and can be minimized inside the form....
thanks..
Not as such, however you can make panels etc moveable by implementing code to drag them around the parent form, and to mimic the appearance of being minimised.
I am pretty sure it was possible to add a Form to your Form. I am not sure however if that Form could then be resized and moved. But when I just tried it I cannot make it work.
I can also remember someone using an API to embed applications (such as Notepad) inside a Form. That was also a good example of a Form inside a Form (this window was able to resize, move and minimize etc!). Again, I cannot find how to do it anymore.
The better approach probably is to write some code that allows you to move Panels or other controls. Luckily, I already did that for you ;)
Have a look at my signature, there is a link to a codebank submission (second link) that allows you to move and resize any control, just like you can move and resize windows. You are probably looking for the second post in that thread; the first one is for moving/resizing borderless Forms.
Perhaps I'm misunderstanding the question, but do you just want an MDI application?
http://msdn.microsoft.com/en-us/library/xyhh2e7e.aspx