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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to close specific windows?

Status
Not open for further replies.

WebStar

Programmer
May 1, 2002
69
0
0
DE
I need a function to list and close some windows, i found something that lists all processes... of course i can kill the process but i need to close only windows not all processes...and I wanna close all windows that contain a specific word in their titles. Can someone tell me how to do that? or point me to a good tutorial/example...
Thank you very much !
 
Instead of Killing the Process..use CloseMainWindow() of that Process.
Also If U can get the Handle to the Particular windows u can close them..
I was recently doing Console Close Disable for My app.At that time I noticed that if u can get handle to that window u can Manipulate lot of things on that window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top