Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

SetAllowAllInactive

Defines whether all tabs can become inactive.

C

void SftTabs_SetAllowAllInactive(HWND hwndCtl, BOOL fSet);

C++

void CSftTabs::SetAllowAllInactive(BOOL fSet = TRUE);

Parameters

hwndCtl

The window handle of the tab control.

fSet

If TRUE is specified, SetCurrentTab and SetCurrentTabEx can be used to deactivate all tabs. If FALSE is specified, SetCurrentTab and SetCurrentTabEx can only be used to activate a new tab.

Comments

The SetAllowAllInactive function defines whether all tabs can become inactive.

SetAllowAllInactive affects all subsequent calls to SetCurrentTab and SetCurrentTabEx. SetAllowAllInactive does not change the currently active tab, if any.

Example

This example makes all tabs inactive:

C

SftTabs_SetAllowAllInactive(hwndTab, TRUE); 
SftTabs_SetCurrentTab(hwndTab, -1);

C++

m_Tab.SetAllowAllInactive(TRUE); 
m_Tab.SetCurrentTab(-1);

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


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