SftTabs/DLL 6.0

GetCount

Softel vdm, Inc.

Retrieves the number of tabs in a tab control.

C

int SftTabs_GetCount(HWND hwndCtl);

C++

int CSftTabs::GetCount() const;

Parameters

hwndCtl

The window handle of the tab control.

Returns

The return value is the number of tabs defined in the tab control. The return value is -1 if an error occurred.

Comments

The GetCount function retrieves the number of tabs in a tab control.

Example

This example retrieves the number of tabs:

C

total = SftTabs_GetCount(hwndTab); 

C++

total = m_Tab.GetCount();

See Also  C/C++ API  |  C++ Classes  |  Notifications


Feedback / comments / error reports for this topic
© 2016 - Softel vdm, Inc. - www.softelvdm.com