SetLayoutRTL method


Available for all objects except ImageList and Thread.

Syntax

Invoke SetLayoutRTL, hWnd, bRTL

Function

Sets the Layout property for an object.

Parameters

hWnd

Handle to the object whose property is to be set.

bRTL

A BOOL value specifying the new layout for the object.

Possible values for bRTL are:

TRUE    The layout for the object will be set to right-to-left.
FALSE  The layout for the object will be set to left-to-right.

REMARKS: For more information about the layout, please see the Layout property.

WARNING: This method only has effect for the referred object but not for any of its child controls (if any). Also, it has no effect if the running operating system is not a Windows bi-directional platform (Windows 2000 and later).