GetPicturePosition method


Available for Button objects.

Prototype

GetPicturePosition Proto hWnd:HWND

Syntax

Invoke GetPicturePosition, hWnd

Function

Gets the PicturePosition property for an object.

Parameters

hWnd

Handle to the object.

Return value

Eax returns the current picture position, related to text, for the object.

Possible returned values are:

0  Up
1  Down
2  Left
3  Right


REMARKS: The PicturePosition property has no effect if the OwnerDraw property is set to FALSE.