Results 1 to 2 of 2

Thread: Problem displaying sprite

  1. #1

    Thread Starter
    Member
    Join Date
    May 2001
    Location
    India
    Posts
    35

    Problem displaying sprite

    Hi

    I have 2 picture box controls. One with a sprite image and another with a mask image. I draw the mask and sprite on another picture box to draw the sprite with a transperant background. Using BitBlt for the same.

    This works fine as long as the picbox controls containing the sprite and mask pictures are visible on the screen. if I make them invisible during run time, the sprite is not drawn with the transperancy on the third pic box.

    I do not the want the first two controls to be visible during run time. Any work around for this?

    thanx in advance
    I believe... in myself

  2. #2
    Addicted Member Janus's Avatar
    Join Date
    Aug 2001
    Location
    California
    Posts
    221
    If you set invisible pictureboxes' autoredraw to true, you will be able to access their contents even when they are invisible.
    "1 4m 4 1337 #4xz0r!'
    Janus

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