Главная страница
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.47 MB
Время: 0.02 c
3-82036
Bams
2003-09-02 16:53
2003.09.25
Multiple records found, but only one was expected. Как бороть?


1-82328
Rustik
2003-09-12 11:41
2003.09.25
Как из реестра достать адрес расоложения шаблона Word


8-82341
KoNDoR
2003-05-31 14:33
2003.09.25
Поверхность в OpenGL


7-82517
Номолос
2003-07-14 08:31
2003.09.25
Как переделать имя файла из под Windows в DOS овское?


3-82087
PrettyFly
2003-09-06 14:03
2003.09.25
TClientDataSet