문제

How does VNC send REPAINT messages to windows even when a user is not active?

I would like to implement this in C sharp - I've had a look at the PrintWindow, SendMessage methods and none of them achieve the same thing as VNC (tested by capturing images and its black) but with VNC I get the full picture.

What techniques are they using to do this and can this be implemented in C sharp to get windows to always repaint even when a user is not active (i.e. RDP is closed, minimised or similar).

Thanks all

도움이 되었습니까?

해결책

You could use the technique used by video games, which consists in redrawing permanently a window during CPU idle time.

I found a C# implementation here.

You just have to adapt it to your needs.

다른 팁

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top