|
|
|
GetAllowAllInactive |
Returns whether all tabs can become inactive.
C
BOOL SftTabs_GetAllowAllInactive(HWND hwndCtl);
C++
BOOL CSftTabs::GetAllowAllInactive() const;
Parameters
hwndCtl
The window handle of the tab control.
Returns
The return value is TRUE if SetCurrentTab and SetCurrentTabEx can be used to deactivate all tabs. Otherwise FALSE is returned.
Comments
The GetAllowAllInactive function returns whether all tabs can become inactive.
GetAllowAllInactive returns the value last defined using SetAllowAllInactive.
SetAllowAllInactive affects all subsequent calls to SetCurrentTab and SetCurrentTabEx. SetAllowAllInactive does not change the currently active tab, if any.
Example
C
BOOL fResult = SftTabs_GetAllowAllInactive(hwndTab);
C++
BOOL fResult = m_Tab.GetAllowAllInactive();
See Also C/C++ API | C++ Classes | Notifications