Home > Software engineering >  Vc6.0 MFC textout output mouse position coordinates
Vc6.0 MFC textout output mouse position coordinates

Time:10-23



Y coordinates should be double digits every 4 digits, 3 digits thing is normal, the great god to solve ah,

CodePudding user response:

Before you is the data of the residue, the data has not been removed,
Drawing code into the OnPaint/ontouch function, onm ouseMove function only modify the relevant data, and then call InvalidateRect forced to refresh the window,

CodePudding user response:

Under the Textout before calling InvalidateRect is ok

CodePudding user response:

Generally, drawing OnPaint or processing in ontouch, other actions are set parameters, and then call Invalidate function

CodePudding user response:

Thank you very much, have to ok

CodePudding user response:

reference 1st floor VisualEleven response:
your is the data of the residue, before the data are not clear,
Drawing code into the OnPaint/ontouch function, onm ouseMove function only modify the relevant data, and then call InvalidateRect forced to refresh window,
say of very detailed!

CodePudding user response:

To output a long empty string
PDC - "TextOut (x, y," ", 80);
  • Related