Media Player style panel

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!



Answer this question

Media Player style panel

  • MarkWHarrison

    Neither. They use the Media::Rebar theme class. If you want to know how to mimic this look in WPF, you probably should ask on a WPF forum.
  • Tewari

    OK, thanks - I'll ask my question in the WPF section then.


  • Seefer

    Thanks so far, but that was not exactly what I was looking for. What I'm interested in is a way that I can create this myself (I need it for a WPF app). Do they use some kind of gradient brush for it in WMP and Windows Photo Gallery or is it just a bitmap brush


  • 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.


  • Media Player style panel