Quote Originally Posted by Tom Moran View Post
You simply need to do 3 things.

1. Set Pscreen.AutoRedraw equal to True
2. Set Pscreen.Autosize equal to True
3. Add the line: Pscreen.Picture = Pscreen.Image before your SavePicture call

vb Code:
  1. Private Sub Cscreen_Click()
  2.  
  3.     'TakeScreenShot Pscreen, App.Path & "\ScreenShot.bmp"
  4.    
  5.     Pscreen.AutoRedraw = True
  6.     Pscreen.AutoSize = True
  7.        
  8.     'Capture the screen
  9.     Pscreen.Picture = CaptureScreen
  10.     'Capture the mouse
  11.  
  12.     PaintCursor Pscreen
  13.    
  14.     Pscreen.Picture = Pscreen.Image
  15.    
  16.     'Finally Save
  17.     SavePicture Pscreen, App.Path & "\ScreenShot.bmp"
  18.    
  19.  
  20.    
  21. End Sub

Tom
Thanx it works
But there is still one problem the mouse position is not acurate? I couldn't figure it out, can you guys check it plz?