IE_SETSECURITY

Sets the security options of the control.

Parameters

wParam

Contains the new security bits. The high-order word is unused and must be 0. The security flags can be combined using the bitwise-OR operator.

Constant

Description

IESEC_NOCOPY

Copying not allowed.

IESEC_NOCUT

Cutting, deleting, and clearing not allowed.

IESEC_NOPASTE

Pasting disabled.

IESEC_NOUNDO

Undo not permitted.

IESEC_NOINK

Inking not allowed.

IESEC_NOERASE

Erasing not allowed.

IESEC_NOGET

The IE_GETINK message is disabled.

IESEC_NOSET

The IE_SETINK message is disabled.

 

lParam

Not used; must be 0.

Return Value

Returns the previous security bits if successful; otherwise, returns one of the following:

Constant

Description

IER_PARAMERR

wParam or lParam is invalid.

IER_SECURITY

The control has security protection disallowing the operation.

 

See Also

IE_GETSECURITY