views:

42

answers:

1

Hello,

i want to increase desktop size (programically), effect should be like attaching second monitor, on the primary monitor nothing should change after increase.

Such trick is needed to hide window off screen and then using PrintScreen get that window image, cutting it from whole screen.

P.s. PrintWindow() function wont help here, i want to capture somewhere hidden webcam preview image, which isn't overlay, but still "Activemovie Window" gives me black image.

If u dont believe me, try capturing hidden Windows Messanger preview screen, at tools->Audio tuning Wizard...

A: 

Hmm... You could write a video driver, that should do the trick. (The reason why just moving the window offscreen doesn't work is because most programs don't re-paint the entire window - only the "damaged portion" - and even then, the device context might not remember the contents if it's drawn to video memory).

Arafangion
Thank you, for your post Arafangion, but for me i think writing video driver is too much. I would like to find an easier an easier solution.
Paklausk
Good luck. You might be lucky and find an old driver somewhere that lets you use a "Virtual Desktop" - that used to be all the rage at one time.
Arafangion