SftTabs/DLL 6.0

SwitchTab

Softel vdm, Inc.

Switches to the next/previous tab.

C

void SftTabs_SwitchTab(HWND hwndCtl, BOOL fNext);

C++

void CSftTabs::SwitchTab(BOOL fNext);

Parameters

hwndCtl

The window handle of the tab control.

fNext

If TRUE is specified, the next available tab with a higher tab index is made the active tab, otherwise the previous tab (with a lower tab index) is made the active tab.

Comments

The SwitchTab function switches to the next/previous tab.

SwitchTab will skip disabled tabs. If no next/previous tab is available, the function has no effect.

The SetCurrentTab function can be used to make a tab active by using its index.

Example

C

SftTabs_SwitchTab(hwndCtl, TRUE);

C++

m_Tab.SwitchTab(TRUE);

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


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