FlatSB_EnableScrollBar::: Enables or disables one or both flat scroll bar direction buttons. If flat scroll bars are not initialized for the window, this function calls the standard EnableScrollBar API.
to ivefire: 和仅使用::InitializeFlatSB(m_treectrl.GetSafeHwnd());的效果一样,只是出现了Flat的滚动条,但原先的功能都消失了
无效。用::InitializeFlatSB(m_treectrl.GetSafeHwnd());倒是能显示出来,可是看意思得写很多代码!
::FlatSB_EnableScrollBar(m_treectrl.GetSafeHwnd(),SB_BOTH,ESB_ENABLE_BOTH);
Enables or disables one or both flat scroll bar direction buttons. If flat scroll bars are not initialized for the window, this function calls the standard EnableScrollBar API.
和仅使用::InitializeFlatSB(m_treectrl.GetSafeHwnd());的效果一样,只是出现了Flat的滚动条,但原先的功能都消失了
FlatSB_EnableScrollBar(m_treectrl.GetSafeHwnd(),SB_BOTH,ESB_ENABLE_BOTH);
FlatSB_ShowScrollBar(pTree->GetSafeHwnd(),SB_BOTH,1);
这次一定行。再有疑问就要加分了。:-)
FlatSB_EnableScrollBar(m_treectrl.GetSafeHwnd(),SB_BOTH,ESB_ENABLE_BOTH);
FlatSB_ShowScrollBar(pTree->GetSafeHwnd(),SB_BOTH,1);
这次一定行。再有疑问就要加分了。:-)