Export (0) Print
Expand All

MSGFILTER structure

Contains information about a keyboard or mouse event. A rich edit control sends this structure to its parent window as part of an EN_MSGFILTER notification code, enabling the parent to change the message or prevent it from being processed.

Syntax


typedef struct _msgfilter {
  NMHDR  nmhdr;
  UINT   msg;
  WPARAM wParam;
  LPARAM lParam;
} MSGFILTER;

Members

nmhdr

Type: NMHDR

The code member of the NMHDR structure is the EN_MSGFILTER notification code that identifies the message being sent.

msg

Type: UINT

Keyboard or mouse message identifier.

wParam

Type: WPARAM

The wParam parameter of the message.

lParam

Type: LPARAM

The lParam parameter of the message.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

See also

EN_MSGFILTER

 

 

Community Additions

ADD
Show:
© 2014 Microsoft