导航:  Windows Controls Procedures > Rich Edit Control > Structures >

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.

 

C/C++ 语法

 

typedef struct _msgfilter {

NMHDR nmhdr;

UINT msg;

WPARAM wParam;

LPARAM lParam;

} MSGFILTER;

 

FreeBasic Syntax

 

TYPE MSGFILTER

nmhdr  AS NMHDR

msg    AS UINT

wParam AS WPARAM

lParam AS LPARAM

END TYPE

 

成员

 

nmhdr

 

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

 

msg

 

Keyboard or mouse message identifier.

 

wParam

 

The wParam parameter of the message.

 

lParam

 

The lParam parameter of the message.

 

最低操作系统

 

Windows 95, Windows NT 4.0.