There is a bug in the loCaptureBmp function (below) in GDI+. Every time I run it the entire form jumps down one line and I have to set form.top = 0 to reset it. I tried LockScreen = .t. but it had no effect at all. Everything else works great but the screen jump is annoying to my customers.
WITH _Screen.System.Drawing
loCaptureBmp = .Bitmap.FromScreen(;
Thisform.HWnd, ;
mLeftOffset, ;
mTopOffset, ;
mWidth, ;
mHeight )
Thisform.imgDummy.PictureVal= loCaptureBmp.GetPictureValFromHbitmap()
ENDWITH
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn