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 WM_CLOSE message notifies a window that the user clicked the Close button in the tab control.
hwnd = (HWND) wParam;
Window handle of the tab control.
A parent window can process this message, typically by closing itself or a dependent window. This message only occurs if the fSendWMCLOSE member of the SFTTABS_CONTROL was defined as TRUE. Otherwise, the tab control sends the SFTTABSN_CLOSEBUTTON notification to the tab control's parent window.
The WM_CONTEXTMENU message notifies a window that the user clicked the right mouse button in the tab control.
hwnd = (HWND) wParam;
Window handle of the tab control.
xPos = LOWORD(lParam);
Horizontal position of the cursor, in screen coordinates, at the time of the mouse click.
yPos = HIWORD(lParam);
Vertical position of the cursor, in screen coordinates, at the time of the mouse click.
A window can process this message by displaying a context menu using the TrackPopupMenu or TrackPopupMenuEx function.
The WM_CTLCOLORSTATIC message is sent to the parent window of a tab control.
Using GetCtlColors and SetCtlColors is the preferred method to change color attributes. Although a tab control generates WM_CTLCOLOR messages, the WM_CTLCOLOR message handling is provided for compatibility with SftTabs 2.0 only.
The WM_QUERYENDSESSION message is sent to a page of a tabbed dialog when the user chooses to switch to another page or to end the tabbed dialog.
The return value specifies what action is to be taken. Return TRUE to prevent the tab control from switching to another page, or return FALSE to allow switching to another tab.
This message is only used for tabbed dialogs implemented using the C API and the techniques shown in Implementing Tabbed Dialogs. The C++ implementation of tabbed dialogs does not generate or use this message.
If a page (or dialog procedure) doesn't handle this message, tab switching is automatic and always possible.
See Also C/C++ API | C++ Classes | Notifications