Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.015 c
2-1213953724
Виктор
2008-06-20 13:22
2008.07.20
Запись графики в базу MS SQL


3-1202809800
wild_arg
2008-02-12 12:50
2008.07.20
восстановление БД


2-1213809311
vegarulez
2008-06-18 21:15
2008.07.20
Как создать exception?


2-1213650701
rhammer
2008-06-17 01:11
2008.07.20
Значение TComboBox


2-1213812379
TOXaKGD
2008-06-18 22:06
2008.07.20
FindFirst и Unicode




   Наверх