GetTextAlignment method
Available for Static, Edit, Group, Button, Check, Radio and Picture objects
Prototype
GetTextAlignment Proto hWnd:HWND
Syntax
Invoke GetTextAlignment, hWnd
Function
Gets the TextAlignment property for an object.
Parameters
hWnd
Handle to the object.
Return value
Eax/Rax returns the current text alignment for the object.
Possible returned values are:
0 ecLeft | Text is left aligned. |
1 ecCenter | Text is centered. |
2 ecRight | Text is right aligned. |