SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Retrieves the CSftTabsPage based object attached to the specified tab.
C++
CSftTabsPage* CSftTabs::GetTabDialog(int iTab = -1) const;iTab
The zero-based index of the tab for which information is to be retrieved. If -1 is specified, the information for the currently active tab is retrieved.
The return value is a pointer to the CSftTabsPage based object attached to the specified tab or NULL if no page is attached. The CSftTabsPage based object is set using SetTabDialog.
The GetTabDialog function retrieves the CSftTabsPage based object attached to the specified tab.
C++
void CWizDlg::OnOK()
{
// Only close the dialog if current page says it's OK
CSftTabsPage* pPage = m_Tab.GetTabDialog(m_Tab.GetCurrentTab());
ASSERT(pPage);
if (pPage->AllowSwitch()) {
CSftTabsDialog::OnOK();
}
}See Also C/C++ API | C++ Classes | Notifications
