VB Code:
  1. Option Explicit
  2.  
  3. Private Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long
  4.  
  5.  
  6. Private Sub Timer1_Timer()
  7. Me.Cls
  8.  
  9. Dim x
  10. Dim y
  11. x = Rnd * Me.ScaleWidth
  12. y = Rnd * Me.ScaleHeight
  13. Debug.Print x, y
  14.  
  15. BitBlt Me.hDC, x, y, 64, 61, Picture1.hDC, 0, 0, vbSrcCopy
  16.  
  17. Me.Refresh
  18. End Sub


I am trying this simple example.. but it wont work..
I have another example to go by... but still nothing..

That is all

Seahag