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
The parent window of a tab control calls SftTabs_Destroy when the parent window is about to be destroyed.
C
BOOL WINAPI SftTabs_Destroy(HWND hwndParent, HWND hwndCtl);
hwndParent
The window handle of the tab control's parent window.
hwndCtl
The window handle of the tab control.
The return value is TRUE if the function was successful, otherwise FALSE is returned.
The Destroy function is called by the parent window of a tab control when the parent window is about to be destroyed.
SftTabs_Destroy is only used in the C implementation of tabbed dialogs and tabbed windows.
The SftTabs_Destroy function ends and destroys all pages that may still exist (even though not active) by calling the tab callback routines SFTTABS_TABCALLBACK responsible for each tab page.
This C example shows a typical tabbed dialog WM_DESTROY message handler:
/* Unregister, or the window properties used won't be removed */ SftTabs_UnregisterDialog(hwndParent); /* destroy all pages */ SftTabs_Destroy(hwndParent, GetDlgItem(hwndParent, IDC_TAB));
} return FALSE; // input focus already set } case WM_DESTROY: { // Unregister, or the window properties used won't be removed SftTabs_UnregisterDialog(hwndDlg); // destroy all pages SftTabs_Destroy(hwndDlg, GetDlgItem(hwndDlg, IDC_P6_TAB1)); SftTabs_Destroy(hwndDlg, GetDlgItem(hwndDlg, IDC_P6_TAB2)); break; } case WM_COMMAND: { HWND hwndCtl = (HWND) lParam; int id = LOWORD(wParam);
See Also C/C++ API | C++ Classes | Notifications