Reputation:
Is it possible for items in a WIn32 TreeView control to have variable heights when using NM_CUSTOMDRAW?
Right now, I can successfully select variable sized fonts in the dc in NM_CUSTOMDRAW, but the item texts get clipped.
Upvotes: 1
Views: 1014
Reputation: 11492
You need to set the height of each item using the iIntegral member of the TVITEMEX structure that you specify when you insert the item.
Upvotes: 2