Mpdreamz / shellprogressbar

ShellProgressBar - display progress in your console application
MIT License
1.44k stars 134 forks source link

Suggestion: Windows Taskbar progress #1

Closed ashmind closed 6 years ago

ashmind commented 10 years ago

I think it would be cool if this library optionally displayed the progress in Windows Taskbar.

This can be done through TaskbarManager from Windows API Code Pack, or by p/invoking WinAPI directly. Console window handle can be obtained from

[DllImport("kernel32.dll", SetLastError = true)]
private static extern IntPtr GetConsoleWindow();

Unfortunately I do not have time to do a proper implementation/pull request at the moment, so just an idea.

Mpdreamz commented 9 years ago

Awesome Idea :+1: , will see if I can find some cycles this weekend.