Вниз
Скачать: 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.014 c
1-82285
ЮРИЙ_К
2003-09-11 10:27
2003.09.25
Как сделать недоступной закладку PageControl ?


7-82508
Jumbo
2003-07-13 14:26
2003.09.25
Windows RUS/ENG


1-82284
Vinter
2003-09-15 07:14
2003.09.25
как добавить свою надпись в строку состояния Internet Explorer a


4-82536
dima_Sh
2003-07-24 10:50
2003.09.25
Как отловить событие


3-82103
KSergey
2003-09-04 14:14
2003.09.25
Есть ли варианты, когда BookMark освобождаются сами?




   Наверх