OdessaGUIProject.Windows7Taskbar.SetProgressState C# (CSharp) Method

SetProgressState() public static method

Sets the progress state of the specified window's taskbar button.
public static SetProgressState ( IntPtr hwnd, ThumbnailProgressState state ) : void
hwnd System.IntPtr The window handle.
state ThumbnailProgressState The progress state.
return void
        public static void SetProgressState(IntPtr hwnd, ThumbnailProgressState state)
        {
            if (Windows7OrGreater)
                TaskbarList.SetProgressState(hwnd, state);
        }