Zhwang.SuperNotifyIcon.Taskbar.SetTaskBarState C# (CSharp) Method

SetTaskBarState() public static method

Sets the state of the taskbar.
public static SetTaskBarState ( TaskbarState state ) : void
state TaskbarState The new state.
return void
        public static void SetTaskBarState(TaskbarState state)
        {
            var appBar = CreateAppBarData();
            appBar.lParam = (IntPtr)state;
            NativeMethods.SHAppBarMessage(NativeMethods.ABMsg.ABM_SETSTATE, ref appBar);
        }