Вниз
Скачать: 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
3-82091
Max_
2003-09-04 17:03
2003.09.25
TSQLClientDataSet и метод Execute???


1-82244
ilka
2003-09-08 18:10
2003.09.25
Создать компонент по имени его класса??


1-82229
Doid
2003-09-12 14:22
2003.09.25
WindowProc для TToolButton


14-82412
clickmaker
2003-09-09 11:37
2003.09.25
Ошибка OLE/DB Provider: Невозможно найти устанавливаемый ISAM


1-82282
Юлия
2003-09-15 08:36
2003.09.25
вопрос по opendialog




   Наверх