AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

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

Library
Gdi32

Parameter Information
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.

Return Values
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.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/