GetCurrentX method
Available for Window, DialogBox and Picture objects.
Prototype
GetCurrentX Proto hWnd:HWND
Syntax
Invoke GetCurrentX, hWnd
Function
Gets the current x-coordinate for an object (see REMARKS).
Parameters
hWnd
Handle to the object.
Return value
Eax/Rax returns the x-coordinate for the object.
REMARKS: The x-coordinate is only used when calling
the Print method.