Re: [PATCH] comctl32: Use correct font for themed headers. (try 3)
23 Mar
2015
23 Mar
'15
7:51 p.m.
On 03/23/2015 10:44 PM, Mark Harmstone wrote: Hey, looks much better, thanks. One minor thing left, and I'm sorry that I missed it last time:
+ if (theme) { + DrawThemeText(theme, hdc, HP_HEADERITEM, state, phdi->pszText, + lstrlenW(phdi->pszText), DT_LEFT|DT_END_ELLIPSIS|DT_VCENTER|DT_SINGLELINE, + 0, &r); + } else { +
Will it work as docs claim if you simply pass -1 as a text length? Otherwise looks good to me.
3918
Age (days ago)
3918
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov