Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "WinAPI";
Текущий архив: 2004.12.26;
Скачать: [xml.tar.bz2];

Вниз

Как получить 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 вся ветка

Форум: "WinAPI";
Текущий архив: 2004.12.26;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.056 c
1-1102514148
megabyte-ceercop
2004-12-08 16:55
2004.12.26
Как бороться с таким глюком RichEdit.


9-1093268794
Ландграф Павел
2004-08-23 17:46
2004.12.26
быстро заполнить 2-у мерный массив значениям


14-1102316680
NeyroSpace
2004-12-06 10:04
2004.12.26
Утечка памяти в ZoneAlarm вер. 4.0.ххх и 5.0.ххх


3-1101447040
LEXX_55
2004-11-26 08:30
2004.12.26
SQL


1-1102562115
SnapIn
2004-12-09 06:15
2004.12.26
Мой метод Create скрывает виртуальный метод базового класса...





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский