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 UnregisterApp function unregisters the application from SftPrintPreview/DLL.
C
void WINAPI SftPrintPreview_UnregisterApp(HINSTANCE hInst);
C++
static void CSftPrintPreview::UnregisterApp();
hInst
The instance handle of the application.
The UnregisterApp function unregisters the application from SftPrintPreview/DLL.
This call allows SftPrintPreview/DLL to unregister all window classes used and perform cleanup processing. This call has to be made after all SftPrintPreview/DLL controls have been destroyed.
The call to this function should be made during application termination.
C
int PASCAL WinMain(HINSTANCE hinst, HINSTANCE hinstPrev, LPSTR Cmd, int cmdShow) { SftPrintPreview_RegisterApp(hinst); // Register application .... application message loop SftPrintPreview_UnregisterApp(hinst); // Unregister application return msg.wParam; }
C++
int CSampleApp::ExitInstance() // based on CWinApp { // Unregister from SftPrintPreview/DLL CSftPrintPreview::UnregisterApp(); // call base class return CWinApp::ExitInstance(); }
See Also C/C++ API | C++ Classes | Notifications