TabCtrl_DeselectAll macro

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 hwndTab,
   UINT fExcludeFocus
);

Parameters

hwndTab

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

The return value is not used.

Remarks

This message is only meaningful if the TCS_BUTTONS style flag has been set.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: