Handles of open windows
how can I retrive a list of open windows and their handles in visual c++?
thx
[edited by - Xtremehobo on May 1, 2003 9:54:06 PM]
Win32API
EnumWindows
You specify your callback function, the first param is your handle.
Last time I did it was with Python, you can see that code if you wish. It should be similar minus the C/CPP details of course.
MSDN Link
[edited by - Interim on May 1, 2003 10:38:16 PM]
EnumWindows
You specify your callback function, the first param is your handle.
Last time I did it was with Python, you can see that code if you wish. It should be similar minus the C/CPP details of course.
import win32guidef EnumWindowProc(hwnd, lparam): print hwndwin32gui.EnumWindows(EnumWindowProc, None)
MSDN Link
[edited by - Interim on May 1, 2003 10:38:16 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement