TCM_GETITEMCOUNT message

Retrieves the number of tabs in the tab control. You can send this message explicitly or by using the TabCtrl_GetItemCount macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns the number of items if successful, or zero otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h