网站首页  词典首页

请输入您要查询的函数:

 

术语 ptinregion
释义 PtInRegion
语法:
BOOL PtInRegion(
__in HRGN hrgn,
__in int X,
__in int Y
);
PtInRegion功能
该PtInRegion函数确定指定点是否在指定区域内的。
参数
hrgn [in]
处理该地区进行审查。
X [in]
指定的x坐标点在逻辑单位。
y [in]
指定的y坐标点在逻辑单位。
返回值
如果指定点在该区域,则返回值为非零。
如果指定的重点不是在该地区,返回值是零。
实例
有关示例,请参见图标记。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
地区概况
区域函数
RectInRegion
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==PtInRegion Function
The PtInRegion function determines whether the specified point is inside the specified region.
Syntax
BOOL PtInRegion(
__in HRGN hrgn,
__in int X,
__in int Y
);
Parameters
hrgn [in]
Handle to the region to be examined.
X [in]
Specifies the x-coordinate of the point in logical units.
Y [in]
Specifies the y-coordinate of the point in logical units.
Return Value
If the specified point is in the region, the return value is nonzero.
If the specified point is not in the region, the return value is zero.
Examples
For an example, see Drawing Markers .
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
RectInRegion
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162883(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 13:24:06