transparent area hit testing

clicking 100% transparent area doesnt activate the window

I'm working on an open source 'aero' skin and noticed that when I click on a completely transparent area of a windows border, it doesn't activate that window. Is this intended? I was going to make buttons with part of the glyph being completely transparent. This will definitely change my design.
2,731 views 2 replies
Reply #1 Top

That is perfectly normal.  If the window is 100% invisible at any point then that point cannot be selected. 

A possible solution would be to make the alpha set to 1 instead of 0.  Then you can click it but it will be almost invisible still.

Reply #2 Top
Thanks. I thought about that an hour after posting. There's not a visible difference and the hit testing works as I expect.