Please take a look at the screen shot. What is the part id and state id for the header element (circled in red) when calling DrawThemeBackground()?
Printable View
Please take a look at the screen shot. What is the part id and state id for the header element (circled in red) when calling DrawThemeBackground()?
See Parts and States.
Yes, of course, that's the page I was searching for it, but there are so many of them and I have no clue what 90% of them are. The common sense suggests that if you make a documentation you'd include a small picture of the part those codes refer to...
So for the best of my knowledge, I tried this pair: HP_HEADERITEM and HIS_NORMAL as well as HP_HEADERITEM with HIS_ICONNORMAL and here's what I got for both of them (see screenshot). That doesn't look anything close to it. So what am I doing wrong here?
A follow-up. I got it solved. My mistake was to call OpenThemeData() for a "Button" instead of a "Header". That documentation needs to be updated as well. It's almost like no one uses Windows APIs anymore...