MSGFILTER

The 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 message, enabling the parent to change the message or prevent it from being processed.

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

Members

nmhdr
Specifies a NMHDR structure. The code member of the NMHDR structure is the EN_MSGFILTER notification code that identifies the message being sent.
msg
Specifies the keyboard or mouse message identifier.
wParam
Specifies the wParam parameter of the message.
lParam
Specifies the lParam parameter of the message.

QuickInfo

  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.

See Also

Rich Edit Controls Overview, Rich Edit Structures, EN_MSGFILTER