Tag: treeviewitem

TreeView fontsize – 自定义绘制或所有者绘制

我想更改TreeView控件的字体大小。 在goolge上搜索之后,我只是想知道应该为这个TreeView使用CustomDraw。 但是NMTVCUSTOMDRAW结构只有clrText和clrText ,它们在TreeView中设置显示文本的前景色和背景色。 我的问题是: Q1: How to change the font size in a TreeView? For the background color of TreeView, one can just use `TreeView_SetBkColor` or send a message. Anything similar for font size? Q2: What’s the difference between Custom Draw and Owner Draw?