I can set the font I want for the items in a listview with a simple WM_SETFONT message. The row height adjusts as required to fit the text.
What I want is for the row to have an extra few pixels of 'padding' around the text.
The only way I could think of was to set a large font with WM_SETFONT, and then use NM_CUSTOMDRAW to adjust the actual font used for display. So far this is not proving successful, but I may be implementing it incorrectly.
Win32 in any language is ok, although VB I find hard to read. Please no MFC solutions.
Start Free Trial