标题:关于MoveTo问题?
只看楼主
风中的承诺
Rank: 1
等 级:新手上路
帖 子:331
专家分:0
注 册:2004-10-31
 问题点数:0 回复次数:1 
关于MoveTo问题?

调试的时候出现
E:\VC\text\ex_02\WinAPI.cpp(56) : error C2065: 'Moveto' : undeclared identifier

可能是哪里错了?

hDC=BeginPaint(hWnd,&PtStr);
hPen=(HPEN)GetStockObject(NULL_PEN);
SelectObject(hDC,hPen);
hBrush=(HBRUSH)GetStockObject(BLACK_BRUSH);
SelectObject(hDC,hBrush);
LineTo(hDC,50,50);
DeleteObject(hPen);
Moveto(hDC,0,0);
hPen=CreatePen(PS_SOLID,0,RGB(255,0,0));
SelectObject(hDC,hPen);
LineTo(hDC,0,20);
Arc(hDC,63,137,138,212,100,137,100,137);
Polyline(hDC,point,6);
DeleteObject(hPen);
DeleteObject(hBrush);
EndPaint(hWnd,&PtStr);

搜索更多相关主题的帖子: MoveTo 
2006-02-23 11:28
zinking
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:35
帖 子:916
专家分:0
注 册:2004-12-5
得分:0 
MoveTo
注意大小写

http://kongfuziandlife. http://codeanddesign.
2006-02-23 16:02



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-46748-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.468270 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved