Home > Software engineering >  How do the interface real-time display the current coordinates, but not to redraw
How do the interface real-time display the current coordinates, but not to redraw

Time:03-24


As shown in figure, the mouse moves over the image will change at any time in the red areas show the current, the coordinates of the cursor will every mouse movement to redraw the entire interface?

CodePudding user response:

Transparent label stacked on top of picture controls

CodePudding user response:

reference 1st floor sevancheng response:
transparent label stacked on the image control

Transparent label? The label text change background not redraw?

CodePudding user response:

reference 1st floor sevancheng response:
transparent label stacked on the image control

It took me an Edit control on the above, but when I change the text in the Edit will cause the entire window to redraw

CodePudding user response:

Don't know that you are using is d or gdi, redraw this part, soon, in addition to use double cache, or it will flash,

CodePudding user response:

The InvalidateRect (& amp; The rect, TRUE); Redraw designated areas only
  • Related