jhilb
September 29th, 2001, 09:07 AM
Was wondering if anyone has VB code that runs through all the open windows on a desktop, examines the window title, and has the ability to kill/close it?
thanks,
j
thanks,
j
|
Click to See Complete Forum and Search --> : How to close other Windows? jhilb September 29th, 2001, 09:07 AM Was wondering if anyone has VB code that runs through all the open windows on a desktop, examines the window title, and has the ability to kill/close it? thanks, j Simonkale September 30th, 2001, 06:07 AM Find the handle of the window using FindWindow API and send wm_close message. Clearcode September 30th, 2001, 10:55 AM There is an example I posted on http://www.planetsourcecode.com - look for "Window message deomonstrator" HTH, D ------------------------------------------------- Ex. Datis: Duncan Jones Merrion Computing Ltd http://www.merrioncomputing.com Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |