SftButton/DLL 3.0 - Button Control (Coming Soon)
SftTabs/DLL 7.0 - Tab Control (Coming Soon)
SftTree/DLL 7.5 - Tree Control
SftTree/DLL 8.0 - Tree Control (Coming Soon)
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
Unregisters a dialog or window which has been previously registered using SftTabs_RegisterDialog or SftTabs_RegisterWindow.
C
BOOL WINAPI SftTabs_UnregisterDialog(HWND hwndDialog); BOOL WINAPI SftTabs_UnregisterWindow(HWND hwndWnd);
hwndDialog, hwndWnd
The window handle of the window or dialog to be unregistered.
The return value is TRUE if the window is successfully unregistered with SftTabs/DLL.
The UnregisterDialog function unregisters a dialog or window which has been previously registered using SftTabs_RegisterDialog or SftTabs_RegisterWindow.
If this function is not called, resource leaks may be experienced.
This C example shows a typical tabbed dialog WM_DESTROY message handler:
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_TAB));
break;
}
Ctl.defaultAnimationTimeShow = 200;
SftTabs_SetControlInfo(hwndTab, &Ctl);
}
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: {See Also C/C++ API | C++ Classes | Notifications
