TabCtrl_DeselectAll macro (commctrl.h)
Resets items in a tab control, clearing any that were set to the TCIS_BUTTONPRESSED state. You can use this macro or send the TCM_DESELECTALL message explicitly.
Syntax
VOID TabCtrl_DeselectAll(
HWND hwnd,
UINT fExcludeFocus
);
Parameters
hwnd
Type: HWND
Handle to the tab control.
fExcludeFocus
Type: UINT
Flag value that specifies the scope of the item deselection. If this parameter is set to FALSE, all tab items will be reset. If it is set to TRUE, all but the currently selected tab item will be reset.
Return value
Type: VOID
The return value is not used.
Remarks
This message is only meaningful if the TCS_BUTTONS style flag has been set.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |