Hi,
I want to create a panel that has a background like the Windows Media Player 11 toolbar or the Windows Photo Gallery, but I have no idea how to paint this.
Just to make this clear the problem is not where or when to paint, I just don't know how I can get this glowing gradient.
Any help with this (no matter if for WPF or WinForms) would be great!

Media Player style panel
MarkWHarrison
Tewari
Seefer
FugersonHall
You can use the Media::Rebar theme class, see AeroStyle.xml in the SDK.
You can open the class itself with OpenThemeData(), or send RB_SETWINDOWTHEME with "Media" to a rebar control.