Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.09.25;
Скачать: CL | DM;

Вниз

Я поставил hook на WH_CALLWNDPROC. Как мне узнать от кокого окна   Найти похожие ветки 

 
II   (2003-07-22 14:15) [0]

и к какому было послано сообщение и его содержимое?


 
Юрий Зотов ©   (2003-07-22 17:23) [1]

The CWPSTRUCT structure defines the message parameters passed to a WH_CALLWNDPROC hook procedure.

typedef struct tagCWPSTRUCT { // cwps
LPARAM lParam;
WPARAM wParam;
UINT message;
HWND ( в смысле, не обязательно оконными функциями) The CWPSTRUCT structure defines the message parameters passed to a WH_CALLWNDPROC hook procedure.

typedef struct tagCWPSTRUCT { // cwps
LPARAM lParam;
WPARAM wParam;
UINT message;
HWND hwnd;
} CWPSTRUCT;


Members

lParam
Specifies additional information about the message. The exact meaning depends on the message value.

wParam
Specifies additional information about the message. The exact meaning depends on the message value.

message
Specifies the message.

hwnd
Identifies the window to receive the message.


А вот "от кокого окна" - это не получится, потому что сообщения посылаются не обязательно окнами (в смысле, не обязательно оконными функциями).




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

Текущий архив: 2003.09.25;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.024 c
14-82460
Sandman25
2003-09-05 13:17
2003.09.25
Строение вселенной


3-82157
sashag
2003-09-03 15:07
2003.09.25
Backup БД Interbase


3-82096
Avsam
2003-09-04 16:09
2003.09.25
Оracle 9i. Список онлайн-подключений.


1-82237
mishgan
2003-09-08 10:29
2003.09.25
Есть ли в DELPHI аналог функции AbnormalTermination()?


3-82062
Alik$
2003-08-13 06:32
2003.09.25
Визуальный просмотр и вставка