protected override void CreateHandle() { if (!this.RecreatingHandle) { NativeMethods.INITCOMMONCONTROLSEX init = new NativeMethods.INITCOMMONCONTROLSEX(); init.Size = Marshal.SizeOf(typeof(NativeMethods.INITCOMMONCONTROLSEX)); init.Flags = NativeMethods.ICC_BAR_CLASSES | NativeMethods.ICC_COOL_CLASSES; NativeMethods.InitCommonControlsEx(init); } base.CreateHandle(); }