摘要: I'm writing a C++ MFC program on VS2008 and I'm getting this "Debug Assertion Error" when I first run the programsometimes. When I try to debug it, it takes me to this winhand.cpp file which is not part of the program I wrote so I'm not sure how to debug this.It takes the error 阅读全文
posted @ 2013-12-01 15:28 xingrun 阅读(560) 评论(0) 推荐(0) 编辑
摘要: MapWindowPoints的百度解释:函数功能:该函数把相对于一个窗口的坐标空间的一组点映射成相对于另一窗口的坐标空 的一组点。 函数原型:int MapWindowPoints(HWND hWndFrom, HWND hWndTo,LPPOINT lpPoints, UINT cPoints); 参数: hWndfrom:转换点所在窗口的句柄,如果此参数为NULL或HWND_DESETOP则假定这些点在屏幕坐标上。 hWndTo:转换到的窗口的句柄,如果此参数为NULL或HWND_DESKTOP,这些点被转换为屏幕坐标。 lpPoints:指向POINT结构数组的指针,此结构数... 阅读全文
posted @ 2013-12-01 15:21 xingrun 阅读(609) 评论(0) 推荐(0) 编辑