SetCurrentY method


Available for Window, DialogBox and Picture objects.

Prototype

SetCurrentY Proto hWnd:HWND, lNewY:LONG

Syntax

Invoke SetCurrentY, hWnd, lNewY

Function

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

Parameters

hWnd

Handle to the object.

lNewY

A LONG value specifying the new y-coordinate.

Return value

Eax/Rax returns TRUE if successful, or FALSE if not.


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