#include "stdio.h"

case WM_MOUSEMOVE:
  x=LOWORD(lParam);
  y=HIWORD(lParam);
  sprintf_s(str,"X的坐标%d  ",x);
  TextOut(hdc,0,0,str,strlen(str));
  sprintf_s(str,"Y的坐标%d  ",y);
  TextOut(hdc,0,20,str,strlen(str));
  break;

相关文章:

  • 2021-06-23
  • 2021-09-10
  • 2021-10-12
  • 2021-06-27
  • 2022-03-09
  • 2021-12-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-26
  • 2022-12-23
  • 2021-10-21
相关资源
相似解决方案