ENPROTECTED

The ENPROTECTED structure contains information associated with an EN_PROTECTED notification message. A rich edit control sends this notification when the user attempts to edit protected text.

typedef struct _enprotected { 
    NMHDR nmhdr; 
    _WPAD _wPad1; 
    UINT msg; 
    _WPAD _wPad2; 
    WPARAM wParam; 
    LPARAM lParam; 
    CHARRANGE chrg; 
} ENPROTECTED; 
 

Members

nmhdr
Notification header.
msg
Message that triggered the notification.
wParam
wParam parameter of the message.
lParam
lParam parameter of the message.
chrg
Current selection.

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_PROTECTED