Hello
I have a C# application that uses some windows forms that have
TransparencyKey set in order for the form to be invisible in places where I
do not have PictureBoxes. The idea is that using the TransaparencyKey and
some background color, I can something like floating images.
I also have a Click event wired to those images, and everything works great
on XP.
The problem is with Windows Vista. For some reason, only on Vista the mouse
events are not transfered through the transparent parts of the window. This
happens if the Vista Theme (teh default theme) is turned on. If I switch to
classis theme, it works!
On MSDN it says:
"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"
Which again, works great on XP and Vista without the Vista theme. And I
thought .NET should overcome platform issues...
Any ideas?
|