SECEditController::SetReadOnly

BOOL SECEditController::SetReadOnly(BOOL bReadOnly)

Sets the read-only state.

Defined in: SECEditControllerCEditEmul.cpp

Return Value

Nonzero if the operation is successful, or 0 if an error occurs.

Parameters

bReadOnly

Specifies whether to set or remove the read-only state of the edit control. A value of TRUE sets the state to read-only; a value of FALSE sets the state to read/write.

Remarks

Calls this function to set the read-only state of an edit control.

Developer Notes

This method is provided as a part of the Objective Edit CEdit compatiblity layer.

See Also

SECEditController