 CaptureButton  Capture.vcx.

       bmp- 
    .

:

-        VFP7.       3    hWnd .    CaptureButton::Click

-          (AlwaysOnTop)

-     1600x1200 -       VFP.


    -    , 
 :

- cFileName -  ,   -    sys(3)

- nBPP - 
   nBPP = 4 (16 )
   nBPP = 8 (256 )
   nBPP = 24 (TrueColor)

3) nCaptureLeft,nCaptureTop,nCaptureWidth,nCaptureHeight
,    .  nCaptureWidth / nCaptureHeight  0,  ,      ,   
nCaptureLeft,nCaptureTop .

test.scx -  