Вниз
Скачать: 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 вся ветка

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



Память: 0.45 MB
Время: 0.013 c
14-82484
justos
2003-09-06 10:26
2003.09.25
Хочу стать круче...


14-82426
sashas
2003-09-08 12:31
2003.09.25
Ужас!!!


3-82078
alex-ran
2003-09-05 15:23
2003.09.25
Проблема с функциями в SQL


3-82042
Sheng
2003-09-06 08:18
2003.09.25
Проблема со временем


11-82169
Bartov
2003-01-19 22:27
2003.09.25
Перекомпиляция SysDcu




   Наверх