CPoint is derived from tagPOINT as in afxwin.h:
class CPoint : public tagPOINTtagPOINT is defined in windef.h as
typedef struct tagPOINT
{
LONG x;
LONG y;
} POINT, *PPOINT, NEAR *NPPOINT, FAR *LPPOINT;
class CPoint : public tagPOINTtagPOINT is defined in windef.h as
typedef struct tagPOINT
{
LONG x;
LONG y;
} POINT, *PPOINT, NEAR *NPPOINT, FAR *LPPOINT;
解决方案 »
- 在线等 这是第二贴 前面一贴一样 遍历网页元素的问题 急等 分数全部送出
- vc++怎么改变文件的属性为可写?30分~~~
- 急求MFC怎么重叠显示位图
- 请教:如何用OpenGL通过贝塞尔曲线画一个弯曲的管道?
- 求助一篇英文文献!
- 看到一段代码,类函数和成员变量前有类似 //##ModelId=3C0DB2FF0354 ,是做什么用的
- 请教文本输出问题~~
- 谁能提供一个通过代理访问http的wininet代码,100分献上
- 在win2000中安装一程序提示错误“windows installer没有正确安装”,为什么?
- 请问以下程序中的postmessage换为sendmessage时,程序就不好用了。为什么?谢谢
- 研究外星人
- 在编程之余,应该想一想的问题
在CPoint里有一个重载了强制转换的函数,当你把CPoint传递到需要POINT的地方时,这个转换函数被执行,返回值就是POINT。