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
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Handles the SFTTABSN_SWITCHED notification.
C++
protected: void CSftTabsWindowSheet::TabSwitched(CWnd* pParent, CSftTabs* pTabCtl);
pParent
The CWnd based object describing the tab control's parent window.
pTabCtl
A pointer to the tab control's CSftTabs based object.
The TabSwitched function handles the SFTTABSN_SWITCHED notification.
A tabbed window must call this function to process the SFTTABSN_SWITCHED notification that is generated by the tab control to switch between pages.
Message map entries must also be added to the tab control's parent window.
This example implements the suggested OnTabSwitched function that calls TabSwitched to switch between pages:
// Add the following definitions to the tab control's parent window // class CYourSheet afx_msg void OnTabSwitching(); afx_msg void OnTabSwitched(); // Add the following to the parent window's message map ON_SFTTABSN_SWITCHING(IDC_TAB, OnTabSwitching) ON_SFTTABSN_SWITCHED(IDC_TAB, OnTabSwitched) // Implement the following functions in CYourSheet void CYourSheet::OnTabSwitching() { TabSwitching(this, &m_Tab); } void CYourSheet::OnTabSwitched() { TabSwitched(this, &m_Tab); }
See Also C/C++ API | C++ Classes | Notifications