PM_TabActivateStart

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

Const.PM_TabActivateStart

The Const.PM_TabActivateStart message is sent to a tab object when a tab is about to be activated.

Parameters

Name Description
nTab  = wParam Number of the tab to be activated
hWndTab  = SalString.FromHandle(nlParam) Window handle of the window associated with the tab to be activated, or hWndNULL if no window is associated.

Returns

Unused (the Framework ignores the return value of this message)

Comments

Applications can use the Const.PM_TabActivateStart to perform some action when a specific tab is activated. If the action is only related to a window placed on a tab, it is usually better to use the Const.PM_AttachedWindowActivate message, or the FrameActivate method, because they are executed directly in the associated window.