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 Print Preview control receives the following event notifications using the WM_COMMAND messages.
WM_COMMAND:
NotifyCode = HIWORD(wParam); idItem = LOWORD(wParam); hwndCtl = (HWND) lParam;
NotifyCode | Description |
---|---|
SFTTABSN_CLIENTAREACHANGE | The tab control's client area has been resized or its position has changed. |
SFTTABSN_CLOSEBUTTON | The Close button was clicked. This notification only occurs if the fSendWMCLOSE member of the SFTTABS_CONTROL was defined as FALSE. Otherwise, the tab control sends the WM_CLOSE message to the tab control's parent window. |
SFTTABSN_DRAGDROP | The user released the left mouse button and ended tab reordering or drag & drop. Use the GetDragInfo function to determine the action required. |
SFTTABSN_DRAGMOVE | The user moved the mouse cursor while tab reordering or drag & drop is active. The application can use the GetDragInfo and SetDragInfo functions to retrieve information and to control tab reordering and drag & drop. By sending a WM_CANCELMODE message, an application can cancel tab reordering and drag & drop. |
SFTTABSN_DRAGSTART | The user initiated tab reordering or drag & drop by pressing the left mouse button on a tab and dragging the tab. By sending a WM_CANCELMODE message, an application can cancel tab reordering and drag & drop. |
SFTTABSN_LBUTTONDBLCLK_AREA | The tab control received a WM_LBUTTONDBLCLK message. This notification is only generated if the mouse cursor is located on a tab, but neither on the tab text nor on the tab picture. The GetNextTab function can be used to determined the tab that is being clicked. Following this notification, tab switching may occur. This can be cancelled by sending the the Windows message WM_CANCELMODE to the tab control. |
SFTTABSN_LBUTTONDOWN_AREA | The tab control received a WM_LBUTTONDOWN message. This notification is only generated if the mouse cursor is located on a tab, but neither on the tab text nor on the tab picture. The GetNextTab function can be used to determined the tab that is being clicked. Following this notification, tab switching may occur. This can be cancelled by sending the the Windows message WM_CANCELMODE to the tab control. |
SFTTABSN_LBUTTONDBLCLK_IMAGE | The tab control received a WM_LBUTTONDBLCLK message. This notification is only generated if the mouse cursor is located on the tab picture of a tab. The GetNextTab function can be used to determined the tab that is being clicked. Following this notification, tab switching may occur. This can be cancelled by sending the the Windows message WM_CANCELMODE to the tab control. |
SFTTABSN_LBUTTONDBLCLK_IMAGE2 | The tab control received a WM_LBUTTONDBLCLK message. This notification is only generated if the mouse cursor is located on the second tab picture of a tab. The GetNextTab function can be used to determined the tab that is being clicked. Following this notification, tab switching may occur. This can be cancelled by sending the the Windows message WM_CANCELMODE to the tab control. This notification is typically used to implement a tab Close button for a tab. When implementing custom behavior, such as closing the associated page by removing the tab, the WM_CANCELMODE must be sent, otherwise the notification causes tab switching. |
SFTTABSN_LBUTTONDOWN_IMAGE | The tab control received a WM_LBUTTONDOWN message. This notification is only generated if the mouse cursor is located on the tab picture of a tab. The GetNextTab function can be used to determined the tab that is being clicked. Following this notification, tab switching may occur. This can be cancelled by sending the the Windows message WM_CANCELMODE to the tab control. |
SFTTABSN_LBUTTONDOWN_IMAGE2 | The tab control received a WM_LBUTTONDOWN message. This notification is only generated if the mouse cursor is located on the second tab picture of a tab. The GetNextTab function can be used to determined the tab that is being clicked. Following this notification, tab switching may occur. This can be cancelled by sending the the Windows message WM_CANCELMODE to the tab control. This notification is typically used to implement a tab Close button for a tab. When implementing custom behavior, such as closing the associated page by removing the tab, the WM_CANCELMODE must be sent, otherwise the notification causes tab switching. |
SFTTABSN_LBUTTONDBLCLK_TEXT | The tab control received a WM_LBUTTONDBLCLK message. This notification is only generated if the mouse cursor is located on the tab text of a tab. The GetNextTab function can be used to determined the tab that is being clicked. Following this notification, tab switching may occur. This can be cancelled by sending the the Windows message WM_CANCELMODE to the tab control. |
SFTTABSN_LBUTTONDOWN_TEXT | The tab control received a WM_LBUTTONDOWN message. This notification is only generated if the mouse cursor is located on the tab text of a tab. The GetNextTab function can be used to determined the tab that is being clicked. Following this notification, tab switching may occur. This can be cancelled by sending the the Windows message WM_CANCELMODE to the tab control. |
SFTTABSN_KILLFOCUS | The tab control lost the input focus. |
SFTTABSN_LAYOUT | The layout of the tabs within the tab control has changes (rows or tabs may have been reordered or repositioned within the tab control). |
SFTTABSN_MBUTTONDBLCLK | The tab control received a WM_MBUTTONDBLCLK message which it doesn't process. This notification is only generated if the mouse cursor is located on a tab. |
SFTTABSN_MBUTTONDOWN | The tab control received a WM_MBUTTONDOWN message which it doesn't process. This notification is only generated if the mouse cursor is located on a tab. |
SFTTABSN_MINIMIZEBUTTON | The Minimize button was clicked. |
SFTTABSN_MOUSEMOVE | The tab control received a WM_MOUSEMOVE message. |
SFTTABSN_RBUTTONDBLCLK | The tab control received a WM_RBUTTONDBLCLK message which it doesn't process. This notification is only generated if the mouse cursor is located on a tab. |
SFTTABSN_RBUTTONDOWN | The tab control received a WM_RBUTTONDOWN message which it doesn't process. This notification is only generated if the mouse cursor is located on a tab. |
SFTTABSN_RESTOREBUTTON | The Restore button was clicked. |
SFTTABSN_SCROLLED | The user has caused scrolling of the tabs shown, by pressing a scroll button or by using the keyboard interface. |
SFTTABSN_SETFOCUS | The tab control received the input focus. |
SFTTABSN_SIZECHANGED | The tab control received a WM_SIZE message. |
SFTTABSN_SWITCHED | The tab control has been switched to a new tab, which is now active. |
SFTTABSN_SWITCHING | The user has initiated a switch to another tab. This notification signals that the tab control is about to switch away from the current tab to a new tab. The application can cancel switching to the new tab by sending a WM_CANCELMODE message to the tab control. If the application doesn't cancel the switching, the new tab will be activated and a SFTTABSN_SWITCHED notification is sent to the parent window. |
SFTTABSN_SWITCHINGDISABLED | The user has clicked on a disabled tab. No tab switching takes place. The application can display messages informing the end-user that a disabled tab was clicked, or it can even switch to another tab if desired (SetCurrentTab). |
SFTTABSN_TTPOP | The tab control is about to hide the ToolTip currently shown for a tab. |
SFTTABSN_TTSHOW | The tab control is about to display a ToolTip for a tab. |
See Also C/C++ API | C++ Classes