Archive

Posts Tagged ‘winforms’

Runtime Styling a Status Strip Control

July 12th, 2009

Just a quick tip for anyone that fights to try and style the status strip control at runtime in one of their projects.

If you want to use runtime stylings you must keep the “rendermode” property of the status strip set to “System”. If you use the “Professional” choice instead of “System” you will get a skin style that matches your OS (So if XP then your status strip will render in XP style, if Vista or Win7 then you get their style).

However, no matter how correctly your code is written to modify the status strip it wont actually ever work unless you keep that rendermode property set to “System”

Code stuff, microsoft , ,