Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a value that specifies whether the value of a control is read-only.
Syntax
HRESULT IValueProvider::get_IsReadOnly(BOOL *pRetVal);
Parameters
- pRetVal
The address of a variable that receives TRUE if the value is read-only; FALSE if it can be modified. This parameter is passed uninitialized.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
A control should have its IsEnabledProperty set to true and its IValueProvider::IsReadOnly property set to false before allowing a call to IValueProvider::SetValue.
See Also