Вниз
Скачать: 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.45 MB
Время: 0.022 c
3-1101391279
a3a3ello
2004-11-25 17:01
2004.12.26
Проблема с execute statement в FB 1.5.1


6-1097321201
QuestionX
2004-10-09 15:26
2004.12.26
Клиент - сервер проблема синхронизации


3-1101817437
leha
2004-11-30 15:23
2004.12.26
dBase + ADO


9-1092958217
Shurik
2004-08-20 03:30
2004.12.26
Помогите с блиттингом DirectDraw


8-1096524938
Alex_s
2004-09-30 10:15
2004.12.26
Icon image not valid




   Наверх