Questions tagged [wm-paint]

WM_PAINT is a central message in the classic Microsoft Windows API.

The WM_PAINT message is central in the classic Microsoft Windows API. It is sent to a window when it needs to redraw (a portion of) its content.

77 questions
-1
votes
1 answer

Enabling output buffering in windows.h's WM_PAINT

EDIT: I am aware this is the slowest way to draw a square, but I do need to set pixels individually for a separate purpose. I'm pretty sure what I'm trying to do is create a Frame Buffer. I have the following code: ... /* Other Unrelated (<- I…
-1
votes
2 answers

Application stops responding after long processing WM_PAINT

I'm making a procedure that would move the white elipse to the center of the window. i'm doing this using BeginPaint, EndPaint, Ellipse procedures. When there is no cycle, it works Ok, showing the elipse on the bottom, but when i'm using a cycle it…
Henry1996
  • 25
  • 5
1 2 3 4 5
6