网站首页  词典首页

请输入您要查询的函数:

 

术语 setlayout
释义 SetLayout
语法:
DWORD SetLayout(
__in HDC hdc,
__in DWORD dwLayout
);
SetLayout功能
该SetLayout功能改变了设备上下文(DC)的布局。
参数
hdc [in]
句柄到DC。
dwLayout [in]
直流布局。此参数可以是一个或多个下列值。
ValueMeaning
LAYOUT_BITMAPORIENTATIONPRESERVEDDisables期间任何BitBlt和StretchBlt操作的反映。
LAYOUT_RTLSets默认横向布局,是从右到左。
返回值
如果函数成功,它返回的DC上的布局。
如果函数失败,返回GDI_ERROR。
备注
布局指定的顺序文本和图形在一个窗口,一个显示设备上下文。默认是从左向右。该SetLayout功能的变化这是从右到左,这是在阿拉伯文和希伯来文的文化标准。
一旦选中LAYOUT_RTL国旗,国旗,通常指定向右或向左是颠倒的。为了避免混淆,考虑界定标准,例如旗帜下表中的,替代字词。
标准flagSuggested备用名称
WS_EX_RIGHTWS_EX_TRAILING
WS_EX_RTLREADINGWS_EX_REVERSEREADING
WS_EX_LEFTSCROLLBARWS_EX_LEADSCROLLBAR
ES_LEFTES_LEAD
ES_RIGHTES_TRAIL
EC_LEFTMARGINEC_LEADMARGIN
EC_RIGHTMARGINEC_TRAILMARGIN
SetLayout不能修改图纸到了位的DIB直接。
有关更多信息,请参阅“窗口布局和镜像”,在窗口功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
设备上下文概述
设备上下文函数
GetLayout
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==SetLayout Function
The SetLayout function changes the layout of a device context (DC).
Syntax
DWORD SetLayout(
__in HDC hdc,
__in DWORD dwLayout
);
Parameters
hdc [in]
A handle to the DC.
dwLayout [in]
The DC layout. This parameter can be one or more of the following values.
ValueMeaning
LAYOUT_BITMAPORIENTATIONPRESERVEDDisables any reflection during BitBlt and StretchBlt operations.
LAYOUT_RTLSets the default horizontal layout to be right to left.

Return Value
If the function succeeds, it returns the previous layout of the DC.
If the function fails, it returns GDI_ERROR.
Remarks
The layout specifies the order in which text and graphics are revealed in a window or a device context. The default is left to right. The SetLayout function changes this to be right to left, which is the standard in Arabic and Hebrew cultures.
Once the LAYOUT_RTL flag is selected, flags normally specifying right or left are reversed. To avoid confusion, consider defining alternate words for standard flags, such as those in the following table.
Standard flagSuggested alternate name
WS_EX_RIGHTWS_EX_TRAILING
WS_EX_RTLREADINGWS_EX_REVERSEREADING
WS_EX_LEFTSCROLLBARWS_EX_LEADSCROLLBAR
ES_LEFTES_LEAD
ES_RIGHTES_TRAIL
EC_LEFTMARGINEC_LEADMARGIN
EC_RIGHTMARGINEC_TRAILMARGIN

SetLayout cannot modify drawing directly into the bits of a DIB.
For more information, see "Window Layout and Mirroring" in Window Features .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Device Contexts Overview
Device Context Functions
GetLayout
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162979(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2025/2/11 9:17:33