PDA

View Full Version : in vb is there a command like...



Killer_Kevin
09-21-2004, 04:03 PM
in vb is there a command like

if window state (brood war) = maximized then
...

i doubt there is a command like that but i figured id ask ne way


thanks

YonderKnight
09-21-2004, 04:33 PM
You can use the win API to do that, it won't be that short though. It'll be like:
1. Find the handle of the window using FindWindow
2. Find if its maximized using GetWindowLong and checking for "WS_MAXIMIZE"