girlswants_me
asked on
minimizing other application
How can i minimize a running application. like for example
the MIRC is running and i only want that application will minimize, how can i do it?
the MIRC is running and i only want that application will minimize, how can i do it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
send a WM_SYSCOMMAND message with SC_MINIMIZE.
Example to minimize notepad:
hWindow := FindWindow('notepad',nil);
SendMessage(hWindow, WM_SYSCOMMAND, SC_MINIMIZE, 0);