'Declaration
Protected Overrides Sub OnThemeChanged()
protected override void OnThemeChanged()
Remarks
The WM_THEMECHANGED message is broadcast to every window following a theme change event. Examples of theme change events are the activation of a theme, the deactivation of a theme, or a transition from one theme to another.