网站首页  词典首页

请输入您要查询的函数:

 

术语 framergn
释义 FrameRgn
语法:
BOOL FrameRgn(
__in HDC hdc,
__in HRGN hrgn,
__in HBRUSH hbr,
__in int nWidth,
__in int nHeight
);
FrameRgn功能
该FrameRgn函数绘制使用指定的刷子围绕指定区域的边界。
参数
hdc [in]
句柄设备上下文。
hrgn [in]
处理该地区被封闭在一个边界。该区域的坐标推定为逻辑单位。
哈佛商业评论 [in]
句柄刷用来绘制边界。
nWidth [in]
指定的宽度,以逻辑单位,垂直笔触。
nHeight [in]
指定的高度,以逻辑单位,横向笔触。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
地区概况
区域函数
FillRgn
PaintRgn
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==FrameRgn Function
The FrameRgn function draws a border around the specified region by using the specified brush.
Syntax
BOOL FrameRgn(
__in HDC hdc,
__in HRGN hrgn,
__in HBRUSH hbr,
__in int nWidth,
__in int nHeight
);
Parameters
hdc [in]
Handle to the device context.
hrgn [in]
Handle to the region to be enclosed in a border. The region's coordinates are presumed to be in logical units.
hbr [in]
Handle to the brush to be used to draw the border.
nWidth [in]
Specifies the width, in logical units, of vertical brush strokes.
nHeight [in]
Specifies the height, in logical units, of horizontal brush strokes.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Regions Overview
Region Functions
FillRgn
PaintRgn
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144839(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:22:34