CRect类成员函数
BOOL IntersertRect ( LPCRECT lpRect1, LPCRECT lpRect2 );
返回值:如果交不为空,则返回非零值;否则,如果交为空则返回0
BOOL IntersertRect ( LPCRECT lpRect1, LPCRECT lpRect2 );
返回值:如果交不为空,则返回非零值;否则,如果交为空则返回0
解决方案 »
- 散分啦,找工作啊找工作……
- 使用文件方式打开串口,串口接收到数据,window有什么消息给我的程序的
- 各位高手,兄弟最近做一个关于世界时区转换的界面,类似Windows下的那个时区,但在时区转换算法上有些问题,请大家帮忙分析下.
- 如何编写一个能读取Powerbuilder的数据窗口列表中数据的程序
- 怎么把这样的字符串转成日期存到ACCESS中
- lib连接问题
- 请帮忙看看这个wm_paint中会出现死循环吗?
- 为什么诸多DES加密算法的结果各不相同?求一标准DES加密算法
- 请问如何用GetMessage()方法获得SendMessage()方法传递的参数?还是应用其他方法???
- 关于.cpl(.dll)程序的编译问题.急急急!
- 关于ADO的问题,请大虾指点!
- 如何使整个屏幕刷新?
The IntersectRect function calculates the intersection of two source rectangles and places the coordinates of the intersection rectangle into the destination rectangle. If the source rectangles do not intersect, an empty rectangle (in which all coordinates are set to zero) is placed into the destination rectangle. BOOL IntersectRect(
LPRECT lprcDst, // intersection buffer
CONST RECT *lprcSrc1, // first rectangle
CONST RECT *lprcSrc2 // second rectangle
);
Parameters
lprcDst
[out] Pointer to the RECT structure that is to receive the intersection of the rectangles pointed to by the lprcSrc1 and lprcSrc2 parameters. This parameter cannot be NULL.
lprcSrc1
[in] Pointer to the RECT structure that contains the first source rectangle.
lprcSrc2
[in] Pointer to the RECT structure that contains the second source rectangle.