This macro retrieves the number of tabs in the tab control. You can use this macro or send the TCM_GETITEMCOUNT message explicitly.
At a Glance
| Header file: | Commctrl.h |
| Windows CE versions: | 1.0 and later |
| Related message: | TCM_GETITEMCOUNT |
Syntax
int TabCtrl_GetItemCount( HWND hwnd);
Parameters
hwnd
Handle to the tab control.
Return Values
The number of tabs indicates success. Zero indicates failure.