Вниз
Скачать: CL | DM;

Как получить Handle окна, находящегося под курсором?   Найти похожие ветки 

← →
Cosinus ©   (2004-11-12 12:37) [0]

Собственно Sabj.


← →
easy ©   (2004-11-12 12:40) [1]

WindowFromPoint


← →
Cosinus ©   (2004-11-12 12:52) [2]

Мне подойдет в связке WindowFromPoint+ChildWindowFromPoint.
Спасибо.


← →
Cosinus ©   (2004-11-12 12:56) [3]

Хм... Возник еще один вопрос. Вот кусок хелпа по ChildWindowFromPoint - Windows maintains an internal list, containing the handles of the child windows associated with a parent window. The order of the handles in the list depends on the Z order of the child windows. If more than one child window contains the specified point, Windows returns the handle of the first window in the list that contains the point
А как узнать не только первый в списке, а все?


← →
Игорь Шевченко ©   (2004-11-12 15:40) [4]

Cosinus ©   (12.11.04 12:56) [3]

GetNextWindow ?


← →
GuAV ©   (2004-11-12 20:25) [5]

Cosinus ©   (12.11.04 12:56) [3]
The order of the handles in the list depends on the Z order of the child windows.

Надо думать что самое верхнее будет получено, а остальные не требуются.


← →
Кириешки ©   (2004-11-12 23:56) [6]

var
 p: TPoint;
 handle : thandle;
begin
GetCursorPos(p);
handle :=WindowFromPoint(p);
end



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

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



Память: 0.46 MB
Время: 0.022 c
3-1101797288
_Sheriff
2004-11-30 09:48
2004.12.26
рекурсивная процедура в Firebird


4-1099505032
CAMCOH
2004-11-03 21:03
2004.12.26
Как программно проскролить текст в memo ?


4-1100029238
redlord
2004-11-09 22:40
2004.12.26
размер кластера HDD


14-1102104298
SergP
2004-12-03 23:04
2004.12.26
Интерестная штука в Паскале.


3-1101804595
12345
2004-11-30 11:49
2004.12.26
проблемы с кодировкой




   Наверх