So, one of my latest distractions was making Windows' taskbar progress custom colored. I personally already use StartIsBack, but it has no such option (by default.) So, how do we go about it? I decided to start from Explorer, as it is responsible for the taskbar in itself, and StartIsBack itself hooks into Explorer's painting code to draw everything by itself, with all the context that Explorer has gathered for it.
The following will be a recollection of how my debugging session started off, and how I eventually ended up in the right place:
- We know that taskbar progress is handled through
ITaskbarList3
[guidea1afb91-9e28-4b86-90e9-9e9f8a5eefaf
], respectively by it'sSetProgressValue
andSetProgressState
functions, so let's look for that... - Ok, we have the PDB... so let's look for "Progress"... bingo,
CTaskItem::GetProgressState
- Information available from here was exactly what I needed, but I personally lost more time debugging the flow of the whole taskbar d