Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimize windows from other programs

Status
Not open for further replies.

noodles1

Programmer
Oct 31, 2001
58
I am trying to create a program that has the ability to control other windows (e.g. minimize) created by separate programs that are part of the overall application. What this means is that the controlling program needs to send a message to another program instructing it to, say, minimize. The ShowWindow(..) function is normally used to minimize a window via its Handle.

Can I use the ShowWindow() function from the controlling program or can this only minimize windows with handles created by the same thread that calls ShowWindow()?
 
Yes, if you want you can EnumWindows and minimize all windows what exist in the Operation System.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top