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 and the windows or dialogs used as pages of a tab control call SftTabs_HandleWindowMessage to pass messages on to SftTabs/DLL so they can be processed.
C
BOOL WINAPI SftTabs_HandleWindowMessage(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT * lplResult);
hwnd
The window handle of the destination window.
message
Message ID.
wParam, lParam
Message parameters.
lplResult
Pointer to an LRESULT value. This field will be set to the result of the processed message.
The return value is TRUE if the message was processed by SftTabs/DLL, otherwise FALSE.
The HandleWindowMessage function is called by the parent window of a tab control and the windows or dialogs used as pages of a tab control to pass messages on to SftTabs/DLL so they can be processed.
If this function is not called, certain features of SftTabs/DLL may not appear to be working correctly, such as accelerator keys, tab switching, ESCAPE and TAB key handling, etc. For dialogs (as opposed to windows) with tab controls, use the SftTabs_HandleDialogMessage function instead.
This C++ example handles unprocessed messages for a CView based window containing a tab control:
LRESULT CSampleView::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) { LRESULT lRes; if (SftTabs_HandleWindowMessage(m_hWnd, message, wParam, lParam, &lRes)) return lRes; // call base class return CView::WindowProc(message, wParam, lParam); }
See Also C/C++ API | C++ Classes | Notifications