SetCurrentX method


Available for Window, DialogBox and Picture objects.

Prototype

SetCurrentX Proto hWnd:HWND, lNewX:LONG

Syntax

Invoke SetCurrentX, hWnd, lNewX

Function

Sets the x-coordinate for an object (see REMARKS).

Parameters

hWnd

Handle to the object.

lNewX

A LONG value specifying the new x-coordinate.

Return value

Eax returns TRUE if successful, or FALSE if not.


REMARKS: The x-coordinate is only used when calling the
Print method.