SetLayout The SetLayout function changes the layout of a device context (DC).
VB4-32,5,6
Declare Function SetLayout Lib "gdi32" (ByVal hdc As Long, ByVal dwLayout As Long) As Long |
Operating Systems Supported |
Requires Windows 2000 or later; Requires Windows 98 or later |
- hdc
[in] Handle to the device context.
- dwLayout
[in] Specifies the device context layout. This parameter can be one or more of the following values.
LAYOUT_BITMAPORIENTATIONPRESERVED
Disables any reflection during BitBlt and StretchBlt operations.
LAYOUT_RTL
Sets the default horizontal layout to be right to left. |
If the function succeeds, it returns the previous layout of the device context.
If the function fails, it returns GDI_ERROR. To get extended error information, call GetLastError. |
|