可以在void CMouseDrawerView::OnMouseMove(UINT nFlags,CPoint point)中添加这样的代码: CHAR szString[255];
sprintf(szString," [ %d, %d ] ",point.x ,point.y );
TextOut(GetDC()->m_hDC,650,3,szString,strlen(szString));实际上是class CPoint : public tagPOINT的,
然后又是
typedef struct tagPOINT
{
LONG x;
LONG y;
} POINT, *PPOINT, NEAR *NPPOINT, FAR *LPPOINT;
的.
sprintf(szString," [ %d, %d ] ",point.x ,point.y );
TextOut(GetDC()->m_hDC,650,3,szString,strlen(szString));实际上是class CPoint : public tagPOINT的,
然后又是
typedef struct tagPOINT
{
LONG x;
LONG y;
} POINT, *PPOINT, NEAR *NPPOINT, FAR *LPPOINT;
的.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货