Home > Software engineering >  Drag the window without the WM_PAINT message
Drag the window without the WM_PAINT message

Time:11-03

Windows 7 systems, drag, and cover the WM_PAINT message, but change the window size is the WM_PAINT message, I remember the teacher said in class have the WM_PAINT, is the system problem? Class is XP system

CodePudding user response:

I remember, drag the window message queue clog, play games, I also open a render threads to avoid dragging the window screen gets stuck,
Cover, how "old", should be is Vista new combinations "desktop" result in each window has a separate cache so no need to render,
Windows 7 can be closed try in system Settings, Win10 this setting options have been removed,

But with the D2D after all need not bother to response to a WM_PAINT message, use CPU rendering is not complicated scenario is better than GDI's fast and convenient.

CodePudding user response:

Close the Aero, open the Windows 7 Basic theme is,
Because aero can't at the time of each window is obstructed delete data in a DC

CodePudding user response:

Do you want to draw or write in onpaint, you tube he have any news, can drag it anyway, just to refresh, do not know what exactly do you want to achieve?

CodePudding user response:

Hello
I am a webmaster
this editionThis post has been long time no attention
Would you please timely junction post
If you think the problem not solved can press no satisfaction and post processing
In addition this edition is set up problems summary post
And has set up a page in top
The instructions are relevant provisions in the post
You can according to the regulation to submit your post links
If you currently do not want to "post just reply that
We will delete this junction post notice

See this reply many days without response
We will be forced to "post
Rules can be found in the interface interface version specific measures about moderator junction post work

CodePudding user response:

Drag the window, the window if you don't change, will not have a WM_PAINT message, there won't be on XP,

In addition, the window has a property: WS_LAYERED, if it is a Layered window, then it is caching pattern, the content does not change, will not receive the WM_PAINT, even if is blocked by other Windows move to also won't, because the content has not changed,
  • Related