Вниз
Скачать: 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.023 c
14-1102064193
080D:07BBh
2004-12-03 11:56
2004.12.26
DB components


14-1102412396
Dmitriy O.
2004-12-07 12:39
2004.12.26
Кто знает какие либо методы быстрого сброса данных В Эксель ?


3-1101577812
bartalby
2004-11-27 20:50
2004.12.26
Помогите построить выражение


6-1097686027
AlexG
2004-10-13 20:47
2004.12.26
Мгновенная остановка создания TCP/IP соединения


4-1100507784
Avatara
2004-11-15 11:36
2004.12.26
Запуск .EXE файла из своей проги




   Наверх