I want to create a fully-transparent fullscreen form which records
clicks but also passes on the 'click' to the desktop. Specifically, I
have an existing application which displays a webpage fullscreen. I
want my new application to run transparently over the top of the
existing app, and when the user clicks the mouse button, my
transparent application records the location of the click while
'passing on' the click to the application below it, allowing the user
to click on the webpage.

What is the best way to achieve this in .NET?

To achieve transparency, I have tried setting the form's opacity to 0,
or the background color to the same color as the transparency key, but
this means my form does not receive mouse clicks.

Alternatively, I can set opacity to 1%, which means the form is almost
transparent but recieves clicks. Now, how do I pass on clicks to the
application below? I could use PInvoke to simulate a click with
mouse_event, but this presumably clicks on the topmost application
(i.e. my transparent app) while I need to click on an application
beneath the topmost.

Is there some standard technique for this?

Re: Transparent form which records clicks and passes on to by Peter

Peter
Fri Aug 08 11:37:52 CDT 2008

On Fri, 08 Aug 2008 06:49:39 -0700, matthew <mrankine@gmail.com> wrote:

> [snip]

Please don't multi-post. If you must post the same question to more than
one newsgroup, please learn to cross-post properly, by including all of
your desired newsgroups in the "Newsgroup:" field of a single post.

Thanks,
Pete