Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2008.07.20;
Скачать: CL | DM;

Вниз

GetWindow   Найти похожие ветки 

 
Nucer   (2008-06-18 18:47) [0]

Что такое GW_OWNER и GW_CHILD?

Есть окно A и окно B.
GetWindow(B,GW_OWNER) - получаю A,
GetWindow(A,GW_CHILD) - получаю 0.

Почему во втором случае возвращается 0, а не B?


 
Поросенок Винни-Пух ©   (2008-06-18 18:56) [1]

GW_CHILD The retrieved handle identifies the child window at the top of the Z order, if the specified window is a parent window; otherwise, the retrieved handle is NULL. The function examines only child windows of the specified window. It does not examine descendant windows.


 
Nucer   (2008-06-18 18:59) [2]

Понятно... а найти потомка никак нельзя кроме как перебором?


 
Поросенок Винни-Пух ©   (2008-06-18 19:31) [3]

поиск это всегда перебор. или это не поиск.



Страницы: 1 вся ветка

Текущий архив: 2008.07.20;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.025 c
4-1192827598
i
2007-10-20 00:59
2008.07.20
Prevent service&process from stopping


15-1212524487
alex-drob
2008-06-04 00:21
2008.07.20
Отличие packed record от record


15-1212324034
md10
2008-06-01 16:40
2008.07.20
Windows XP


4-1192381766
Riply
2007-10-14 21:09
2008.07.20
Несколько ускоренный способ сканирования директории.


3-1202394482
AlexeyMir
2008-02-07 17:28
2008.07.20
Кэширование и Firebird