Hide

SftTabs/DLL 6.0 - Tab Control for C/C++

Display
Print

SwitchTab

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


Last Updated 08/13/2020 - (email)
© 2025 Softel vdm, Inc.