开发者

Is there any way to catch whole screen re-paint event? (windows, c#)

开发者 https://www.devze.com 2023-04-07 13:45 出处:网络
Is there any way to catch whole screen re-paint event? (windows, c#) I want to do CopyFromScreen on开发者_运维问答ly after screen was updated, not by timer.There is no such thing as a whole screen pa

Is there any way to catch whole screen re-paint event? (windows, c#)

I want to do CopyFromScreen on开发者_运维问答ly after screen was updated, not by timer.


There is no such thing as a whole screen paint. The system optimises and only updates invalid regions. I don't know what you are trying to achieve (you didn't say) but it sounds like a remote desktop type application. They typically use mirror drivers.


There is no such thing as a whole screen paint

  • that is true, but the screen can't update faster than its refresh rate (60-80 fraps per second). You need to set a timer with that interval and to make screenshots in its Tick event.
0

精彩评论

暂无评论...
验证码 换一张
取 消