PDA

Click to See Complete Forum and Search --> : Which API do I use?


mpSmooth
Mar 11th, 2002, 10:27 AM
Whats the API call to maximize a window?

Thanks

Hack
Mar 11th, 2002, 12:00 PM
You don't need an API. The WindowState property of the form can be used for that. :)

MerrionComputin
Mar 11th, 2002, 01:24 PM
..but if the window isn't a VB form then ShowWindow() with the parameter SW_MAXIMIZE should be what you need.

mpSmooth
Mar 11th, 2002, 05:17 PM
Thanks Merrion. You didn't insult my intelligence and knew exactly what I needed..;)