Is there a WM_MEASUREITEM
type item for custom drawing treeview items via NM_CUSTOMDRAW
? I'd like to be able to report the width the item will actually be once I paint it in the post paint so a horizontal scrollbar doesn't show up when not needed (because I truncate the text with a ...).
Thanks.
AFAIK, there is no equivalent of
WM_MEASUREITEM
for a TreeView control.