1.treeview需要添加TVS_HASBUTTONS样式。 2.treeview和listview跟一般的控件不一样,不会自动引用主题风格。需要调用下SetWindowTheme。 https://social.msdn.microsoft.com/forums/windowsdesktop/en-US/a7512a09-fe2e-40f5-9324-c6228a6f113c/aero-theme-for-treeview-and-listview-controls-in-mfc-dialogs