TabNumberGetByHandle

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.

SalNumber TabNumberGetByHandle( SalWindowHandle hWnd )

The TabNumberGetByHandle returns the number of the tab that a window is associated with.

Parameters

Name Description
SalWindowHandle hWnd Window handle of a window associated with a tab.

Returns

The return value is the number of the tab the window is associated with. If the window is not associated with a tab, -1 is returned.