Retrieves the number of tabs in the tab control. This is a simple wrapper around Win32 function (actually a macro).
$icount = TabCtrl_GetItemCount( $hwnd );
Handle to the tab control
Number of tabs in the tab control