![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Управление окнами [D7]
ArtemESC © (2005-09-06 23:09:00)Доброго времени суток...
Как получить список всех окон Windows?
Список с именами форм.
easy (2005-09-07 09:33:00) [1]http://dfc.com.ru/faq/?base=main&p=9
kami (2005-09-06 23:22:00) [2]EnumWindows +(возможно)EnumChildWindows
или
GetWindow
The EnumWindows function does not enumerate child windows, with the exception of a few top-level windows owned by the system that have the WS_CHILD style.
This function is more reliable than calling the GetWindow functionin a loop. An application that calls GetWindow to perform this task risks being caught in an infinite loop or referencing a handle to a window that has been destroyed.(c) MSDN