SetRightToLeft method


Available for all objects except Image, HScroll, VScroll, ToolBar, ProgressBar, Slider, UpDown and Animate.

Prototype

SetRightToLeft Proto hWnd:HWND, bRightToLeft:BOOL

Syntax

Invoke SetRightToLeft, hWnd, bRightToLeft

Function

Sets the RightToLeft property for an object.

Parameters

hWnd

Handle to the object.

bRightToLeft

A BOOL value specifying the new right-to-left reading order for the object.

Return value

Eax returns TRUE if succesful, or FALSE if not.


REMARKS: This method has no effect if the running operating system is not a Windows bi-directional platform.