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?
Printable View
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?
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.
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.
Set the BackStyle property to Transparent.