Главная страница
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.033 c
1-82254
Кулюкин Олег
2003-09-15 12:16
2003.09.25
Аналог Node.HasChildren := false для MasterView от DevExpress


1-82204
AST
2003-09-12 13:23
2003.09.25
Вызов OpenOffice из Delphi


14-82388
Igorek
2003-09-03 15:53
2003.09.25
Пора добавить фичу


1-82190
Dark Elf
2003-09-12 17:32
2003.09.25
Выбор директории


7-82524
Palex
2003-07-11 01:01
2003.09.25
(com-порты) Кто тормозит - я или винда?