views:

78

answers:

2

if the transparentkey property is used to make the top level form transparent,it works , but it also makes the main form click-throughable. I want the opposite of this, that the form becomes transparent, but is still able to recieve clicks. can this be done ?

A: 

There is also

myform.Opacity = .75

.. which you can change as required. It may work better depending on your needs - you don't state whether its the whole form or only part of it you want transparent. Also, from MSDN on TransparencyKey:

Any mouse actions, such as the click of the mouse, that are performed on the transparent areas of the form will be transferred to the windows below the transparent area.

.. so it would seem that wont help you at all.

pierre
A: 

Here is een solution. The form is totaly transparent and still clickable.

Gerben Limburg
will check this out. thanks