Im developing a program that need to take snapshot from main application window and write it to jpeg file, when window is on the desktop center its all ok:
Name:  EQIky.jpg
Views: 841
Size:  3.3 KB
but when part of it is moved out of desktop area as here:
Name:  KFX44.jpg
Views: 1034
Size:  61.4 KB

im receiving that:
Name:  N9WLa.jpg
Views: 764
Size:  1.7 KB

i have this problem on windows xp(win 7 works fine, didnt check on vista), as you ma guess i would like to receive same snapshot as on the screen 1, even if windows is moved out of desktop area, thanks for help