IASControl::PutCommonBoolProperties
This method sets common Boolean properties.
Syntax
HRESULT PutCommonBoolProperties( short pwProps );
Parameters
- pwProps
- Pointer to a short integer that contains one of the following flags, which indicate the status of a control’s Boolean properties:
- ASFC_CTRL_VISIBLE
- Control is visible.
- ASFC_CTRL_ENABLE
- Control is enabled.
- ASFC_CTRL_OPAQUE
- Control is opaque.
- ASFC_CTRL_BORDER
- Control has a border.
- ASFC_CTRL_DEFERDRAW
- Control defers drawing until this bit is cleared.
- ASFC_CTRL_HASUI
- Control has a user interface.
- ASFC_CTRL_TABSTOP
- Control is a tabstop.
- ASFC_CTRL_SPEECHENABLED
- Control is speech enabled.
Return Values
NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.
Remarks
This method combines the flags passed to the method in pwProps with property flags already set before the call to this method by using an OR operation.
See Also
IASControl::GetCommonBoolProperties