Window控件里面,樹(shù)的節(jié)點(diǎn)高度是可以設(shè)置的,如下:
tvis.hParent = hItem;
tvis.itemex.mask = TVIF_TEXT|TVIF_INTEGRAL;
tvis.itemex.pszText = TEXT("3倍高度節(jié)點(diǎn)");
tvis.itemex.iIntegral = 3;
m_wndTree.InsertItem(&tvis);
iIntegral 表示是普通節(jié)點(diǎn)的3倍高度。
一個(gè)小技巧,發(fā)現(xiàn)網(wǎng)上提及較少,故這里列出。
posted on 2009-08-09 13:07
萬(wàn)連文 閱讀(2641)
評(píng)論(0) 編輯 收藏 引用 所屬分類:
亂七八糟