SetAlign method
Available for Picture, ToolBar, StatusBar and Rebar objects.
Prototype
SetAlign Proto hWnd:HWND, lAlign:LONG
Syntax
Invoke SetAlign, hWnd, lAlign
Function
Sets the Align property for an object.
Parameters
hWnd
Handle to the object.
lAlign
A LONG value specifying the new alignment for the object. It can be one of the following values:
0 None
1 Top
2 Bottom
3 Left
4 Right
Return value
Eax returns TRUE if succesful, or FALSE if not.
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.