Results 1 to 4 of 4

Thread: Newbie Bitblt Q

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Posts
    12

    Newbie Bitblt Q

    Sorry for wasteing your time, but this is driving me crazy...

    I just used the normal bitblt modual and... this was my code..

    Private Sub Command1_Click()
    BlockWidthHeight = 20

    Call BitBlt(GameArea.hDC, _
    0, _
    0, _
    20, _
    20, _
    picBlockStrip.hDC, _
    0, _
    0, _
    SRCCOPY)

    End Sub

    When i run it and picBlockStrip is visible it works fine... but I want picBlockStrip to be visible= false and when I run it with that it the GameArea remains blank. it I am referencing some code that also has an invisible source picbox and it works fine, but mine just wont work, what do I need to add to make it work?

  2. #2
    Junior Member Caleb's Avatar
    Join Date
    Jan 2001
    Posts
    24
    try ajusting your Autoredraw to true and clipcontrol to false.

  3. #3
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Mebbe you should call refresh after the call to BitBlt
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Forget ClipControls, has nothing to do with that!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width