有没有测试某一点是否在某一区域的函数? ? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 定义一个矩形区域CRect rect;为该区域复制,然后调用rect.PtInRect(CPoint pt);pt是你的点坐标 The PtInRegion function determines whether the specified point is inside the specified region. BOOL PtInRegion( HRGN hrgn, // handle to region int X, // x-coordinate of point int Y // y-coordinate of point); CRect rct;CPoint pos;if(rct.PtInRect(pos)){} vc++ 图标跟下面的文字一起移动? 怎样判断系统中已安装了某种字体? 流动电子警察 --->>关于视频触发问题 PING程序的一个问题。。。 VC中关于SQL语句插入的问题 简单的工具栏问题请求帮助! 炮炮,请进 如何编码使控件可以在容器中被拖动--急 在线等待,高分相送 提问!! 不管高手 菜鸟 都过来帮忙!!!!! 新手问:在VC中如何将一个文件存入数据库中,sqlserver2000数据库,最好提供原码。 请问有没有针对flash处理的类?急需
HRGN hrgn, // handle to region
int X, // x-coordinate of point
int Y // y-coordinate of point
);
CPoint pos;
if(rct.PtInRect(pos))
{
}