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
Registers the application for use of SftTabs/DLL controls.
C
BOOL WINAPI SftTabs_RegisterApp(HINSTANCE hInst);
C++
static BOOL CSftTabs::RegisterApp();
hwndCtl
The window handle of the tab control.
hInst
The instance handle of the application, which will use SftTabs/DLL controls.
The return value is TRUE if SftTabs/DLL has been initialized for this application, otherwise FALSE is returned.
The RegisterApp function registers the application for use of SftTabs/DLL controls.
This call allows SftTabs/DLL to register all required window classes for the calling application. This call has to be made before any SftTabs/DLL controls are created.
An application should call UnregisterApp once the application no longer uses SftTabs/DLL controls.
The call to this function should be made during application initialization.
This example registers an application with SftTabs/DLL:
C
int PASCAL WinMain(HINSTANCE hinst, HINSTANCE hinstPrev, LPSTR Cmd, int cmdShow) { SftTabs_RegisterApp(hinst); // Register application .... application message loop SftTabs_UnregisterApp(hinst); // Unregister application return msg.wParam; }
C++
BOOL CSampleApp::InitInstance() // based on CWinApp { CSftTabs::RegisterApp(); // Register to use SftTabs/DLL .... other initialization return TRUE;
See Also C/C++ API | C++ Classes | Notifications