Hi there!!
I wonder how can I set the maximised form to a pre-defined size and a minised form to be a small title bar, exactly like what winamp has when maximised and minised.
Thanks
Printable View
Hi there!!
I wonder how can I set the maximised form to a pre-defined size and a minised form to be a small title bar, exactly like what winamp has when maximised and minised.
Thanks
Im not sure what you need here. If you want to resize the form, you can use Move method and if you want to detect if the form is minimized/maximized you can use WindowState property. The Resize event will fire when you minimize/maximize your window. Hope you find them useful.
What I'm trying to say is that a maximised window will not cover the entire screen but rather I'm able to preset to the size I want it to be. What I'm doing is exactly the same as the Windowshade mode in Wimamp
Thanks
I just came across an emample that could be what you need ...
http://www.vbweb.co.uk/code/downloads/minmax.zip
Hope this helps