Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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 Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Richedit.h

See also

EN_MSGFILTER

 

 

Community Additions

ADD
Show:
© 2015 Microsoft