Prev Next

EN_PROTECTED Overview  Group

The EN_PROTECTED notification message notifies a rich edit control’s parent window that the user is taking an action that would change a protected range of text. A rich edit control sends this notification message in the form of a WM_NOTIFY message.

EN_PROTECTED 

wParam = (WPARAM) (UINT) uID; 

lParam = (LPARAM) (ENPROTECTED FAR *) lpEnProtected; 

 

Parameters

uID
Identifier of the rich edit control.
lpEnProtected
Pointer to an ENPROTECTED structure containing information about the message that triggered the notification.

Return Values

Returns zero to allow the operation or a nonzero value to prevent it.

Remarks

If zero is returned and the msg, wParam, and lParam members of the ENPROTECTED structure are changed, the control processes the revised message instead of the original message.

See Also

ENPROTECTED, WM_NOTIFY