TCM_GETITEMCOUNT (Compact 2013)

3/28/2014

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

Syntax

TCM_GETITEMCOUNT wParam = 0; 
    lParam = 0; 

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

The number of items indicates success. Zero indicates otherwise.

Requirements

Header

commctrl.h

See Also

Reference

Tab Controls Messages
TabCtrl_GetItemCount