Results 1 to 4 of 4

Thread: transparent picture

  1. #1

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    When I was trying to make a shape and line have click events, I had to end up putting the Shapes and lines in pictures and then using their events. How can I make the picture box transparent so you can see what is behind it?
    retired member. Thanks for everything

  2. #2
    Addicted Member
    Join Date
    Aug 2000
    Location
    Croatia
    Posts
    200
    In VB4 you could set the PictureBox transparent using the SetWindowLong API but in VB5/6 you can't do that. One way is to create a custom OCX control.

  3. #3

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    The ocx idea is good, but how can you make the ocx background transparent? Not just the Ambient color, but the picture that would be behind it.
    retired member. Thanks for everything

  4. #4
    Addicted Member
    Join Date
    Aug 2000
    Location
    Croatia
    Posts
    200
    Set the BackStyle property to Transparent.

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