How can I maximize any window in WIN XP any time? Not on any specific event, but just any arbitrary time I specify I want to be able to maximize whatever window I'm handling.
I know about hooking, but after that I'm lost.
How can I maximize any window in WIN XP any time? Not on any specific event, but just any arbitrary time I specify I want to be able to maximize whatever window I'm handling.
I know about hooking, but after that I'm lost.
Use ShowWindow() or SetWindowLong(). What do you mean by any arbitrary time? The code to maximize will have to be in response to some event. Rather that event be a timer, a handler to a button click message, etc...