Вниз
Скачать: 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.015 c
14-82485
Igorek
2003-09-06 18:55
2003.09.25
Опрос: какой секс предпочитают программисты?


1-82262
3APA3A
2003-09-14 00:51
2003.09.25
Создание форм в Runtime из DLL


14-82428
michael
2003-09-04 16:29
2003.09.25
Какая книга считается классикой по ООП ?


3-82160
Akni
2003-09-03 14:45
2003.09.25
Параметры в StoredProc


3-82116
Max_
2003-09-04 12:45
2003.09.25
Экспорт данных в Excel




   Наверх