关于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);