SftTabs/DLL 6.0

Notifications

Softel vdm, Inc.

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_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_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_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_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


Feedback / comments / error reports for this topic
© 2016 - Softel vdm, Inc. - www.softelvdm.com