"Fade Panel" control or method
-
Hi, I want to overlay controls on my main window that fade away and dissapear when the mouse is outside the window. Very much like in Windows Media Player. Is there a control to do that for me, or can anyone give me some starting information on how that might be achieved. thanks jon
using System.Beer;
-
Hi, I want to overlay controls on my main window that fade away and dissapear when the mouse is outside the window. Very much like in Windows Media Player. Is there a control to do that for me, or can anyone give me some starting information on how that might be achieved. thanks jon
using System.Beer;
I guess it depends on what version of Media Player you are using but I thought the current version uses WPF which has more graphics capabilities then standard WinForms. Using WinForms though you could try handling the mouse move event or the Deactivated event
I know the language. I've read a book. - _Madmatt
-
Hi, I want to overlay controls on my main window that fade away and dissapear when the mouse is outside the window. Very much like in Windows Media Player. Is there a control to do that for me, or can anyone give me some starting information on how that might be achieved. thanks jon
using System.Beer;
I don't know about any control buy but, You can put your controls inside a panel, and then handle your main form's active / deactivate , enter / leave events and set the opacity of the panel from 0 to 100 and 100 to 0, using a timer control to fade out and fade in... (I think Mark has suggested you the same thing...)
modified on Monday, April 26, 2010 1:27 PM
-
Hi, I want to overlay controls on my main window that fade away and dissapear when the mouse is outside the window. Very much like in Windows Media Player. Is there a control to do that for me, or can anyone give me some starting information on how that might be achieved. thanks jon
using System.Beer;
Look at this for guidance: .NET Animation Control[^]
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001modified on Monday, April 26, 2010 5:45 PM