| 要改变 TreeView 的背景, 我们可以通过调用以下的 API 达到:
- SendMessage - sends the specified message to a window or windows.
- GetWindowLong - retrieves information about the specified window.
- SetWindowLong - changes an attribute of the specified window.
具体程序,请参考以下文章:
ID: Q178491 HOWTO: Change the TreeView Control Background Color [vbwin] http://support.microsoft.com/support/kb/articles/q178/4/91.asp |