TCM_GETITEMCOUNT

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: TabCtrl_GetItemCount

Syntax

  1. TCM_GETITEMCOUNT wParam = 0; lParam = 0;

Return Values

The number of items indicates success. Zero indicates otherwise.