我正在使用VC6。如何解决错误?
error C2065: "error C2065: 'ON_WM_THEMECHANGED' : undeclared identifier"
类定义代码:
#include "stdafx.h"
#include "ConfigListCtrl.h"
#include "CellCtrls\ListCtrlCellWnd.h"
#include "CellCtrls\CellButton.h"
#include "Windows.h"
#include "Winuser.h"
// CConfigListCtrl
IMPLEMENT_DYNAMIC(CConfigListCtrl, CListCtrl)
CConfigListCtrl::CConfigListCtrl() : m_bInit(FALSE), m_bCaretExists(FALSE), m_bTabbedIn(FALSE), m_bKeyUp(FALSE), m_bIsEnabled(TRUE)
{
}
CConfigListCtrl::~CConfigListCtrl()
{
ForEachCellCtrl(&CConfigListCtrl::DeleteCellCtrl);
}
BEGIN_MESSAGE_MAP(CConfigListCtrl, CListCtrl)
...
ON_WM_THEMECHANGED()
...
END_MESSAGE_MAP()
...
}
似乎我错过了一些头文件或lib文件,但是它们是什么,无论如何如何解决?