网站首页  词典首页

请输入您要查询的函数:

 

术语 getlayout
释义 GetLayout
语法:
DWORD GetLayout(
__in HDC hdc
);
GetLayout功能
该GetLayout函数返回一个设备上下文(DC)的布局。
参数
hdc [in]
一个句柄,设备上下文。
返回值
如果函数成功,它返回当前设备上下文布局的标志。
如果函数失败,返回GDI_ERROR。对于扩展的错误信息,调用GetLastError。
备注
布局指定的顺序,文字和图形在一个窗口或显示设备上下文。默认是从左向右。该GetLayout函数告诉您如果默认已通过电话向SetLayout改变。有关更多信息,请参阅“窗口布局和镜像”,在窗口功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
设备上下文概述
设备上下文函数
SetLayout
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetLayout Function
The GetLayout function returns the layout of a device context (DC).
Syntax
DWORD GetLayout(
__in HDC hdc
);
Parameters
hdc [in]
A handle to the device context.
Return Value
If the function succeeds, it returns the layout flags for the current device context.
If the function fails, it returns GDI_ERROR. For extended error information, call GetLastError .
Remarks
The layout specifies the order in which text and graphics are revealed in a window or device context. The default is left to right. The GetLayout function tells you if the default has been changed through a call to SetLayout . 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
SetLayout
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144896(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 更新时间:2024/10/6 11:31:05