GetAlign method


Available for Picture, ToolBar, StatusBar and Rebar objects.

Syntax

Invoke GetAlign, hWnd

Function

Gets the Align property for an object.

Parameters

hWnd

Handle to the object.

Return value

Eax returns the current alignment for the object.

Possible returned values are:

0  None
1  Top
2  Bottom
3  Left
4  Right


REMARKS: When inside an MDIWindow object, Picture, ToolBar, StatusBar and Rebar objects have to be aligned, that is, its property Align has to be set to any other value than None.