摘要:
初用WTL,发现搜不到Aero效果的WTL文章,那我就用WTL练一下手,我详细讲一下步骤。XXXDlg.h文件:(.cpp会编译报错,所以全部消息映射实现在.h)头文件:#include "dwmapi.h"#pragma comment(lib,"dwmapi.lib")1.添加Aero状态的成员private: BOOL m_bAeroEnabled;2.初始化窗体时判断Aero ::DwmIsCompositionEnabled(&m_bAeroEnabled); PostMessage(WM_DWMCOMPOSITIONCHANGED); 阅读全文