How to build a screenshot programmatically?

I would like to know how to build a screen game.

Something like that:

Example No. 1: http://www.youtube.com/watch?v=SHvDOPkGQqE

Example No. 2: http://www.youtube.com/watch?v=5tHpmeZseIs

Example No. 3: http://www.viddler.com/explore/myvirtuallady/videos/5/

I think there must be a way to do this, but I don’t know how.

Can this be done using some Microsoft platforms? Maybe with C #?

+3
source share
1 answer

To draw the screenmaster itself, you can use a regular shape that does not have a border and the TransparencyKey color to make the background transparent. You can then draw the animation by overriding OnPaint ().

, , user32.dll. FindWindow GetWindowRect , , .

+4

Source: https://habr.com/ru/post/1749469/


All Articles