How to make a opaque form transparent to mouse clicks

P

Per Larsson

Hi all!
I am working with a project and want to make a form that is semi
transparent, and transparent to mouse clicks.
(Se through and click through.) The form shall be visible but opaque
and the mouse clicks shall go through to the under lying window.
I can make it transparent by setting the Opaqe property, and by
setting the TransparencyKey colour I can make it click through in
parts that then becomes invisible.
But I want the hole form to be "click through". All controls, frames,
bars and everything!
It seems that there is no support for that in VB.net, but I have seen
VB6 code that can do it by using Windows API´s.
Does any one know how to do that inb VB.net?
 
H

Herfried K. Wagner [MVP]

Per Larsson said:
It seems that there is no support for that in VB.net, but I have seen
VB6 code that can do it by using Windows API´s.

Do you have this VB6 code?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top