PC Review


Reply
Thread Tools Rate Thread

TransparencyKey and transferring mouse actions below with Vista Th

 
 
rankorn
Guest
Posts: n/a
 
      31st Dec 2007
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?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Limiting scope of mouse actions Chris Watts Microsoft Powerpoint 2 6th Mar 2009 08:21 PM
Errors with Actions - Mouse Over and Click =?Utf-8?B?RGFtaWFuIE1hY05a?= Microsoft Powerpoint 1 13th Aug 2006 12:26 PM
Recording Mouse Actions in VBA iambalrog Microsoft Excel Programming 4 11th May 2006 03:04 PM
How to stop automatic mouse actions =?Utf-8?B?UmljaGFyZCBGYXVzdA==?= Microsoft Excel Misc 3 8th Sep 2005 09:20 AM
Additional Actions.. right mouse click Conrad Microsoft Outlook Contacts 1 14th Nov 2004 03:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:54 PM.