Results 1 to 4 of 4

Thread: Changing Graphics in VB

  1. #1

    Thread Starter
    Lively Member Optic's Avatar
    Join Date
    Mar 2001
    Location
    I'm everywhere and nowhere, I'm inside your computer and inside your mind. You can't escape me for I am vision.
    Posts
    117

    Question

    How can I change a picture once it is in my program. I have a program that captures the current screen and I want to change that picture while running the program.
    Any suggestions?

  2. #2
    Guest
    Point, PSet, Line, Circle

    Look for info in the MSDN

    Z.

  3. #3

    Thread Starter
    Lively Member Optic's Avatar
    Join Date
    Mar 2001
    Location
    I'm everywhere and nowhere, I'm inside your computer and inside your mind. You can't escape me for I am vision.
    Posts
    117

    Graphics

    Thanks for the reply. But what I am doing is I have a program that has a pacman image going across the screen and I want it to eat away at an picture box that has the screen capture in it.

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    If you know about bitblt and you have used a MASK with srcAND and a SPRITE with srcPAINT then you can do this. Whenever he moves, draw the mask wherever he has been, this will make it look black where he has travelled.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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