Export (0) Print
Expand All

IUIAutomationSelectionPattern::CurrentIsSelectionRequired Property

Retrieves a value that specifies whether at least one item must be selected at all times.

Syntax


HRESULT IUIAutomationSelectionPattern::get_CurrentIsSelectionRequired(BOOL *retVal);

Parameters

retVal
The address of a variable that receives the value of the property: TRUE if a selection is required, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This property can be dynamic. For example, the initial state of a control might not have any items selected by default, but after an item is selected, the control must always have at least one item selected.

Community Additions

Show:
© 2014 Microsoft