void CTestactiveCtrl::TestME()
{
// TODO: Add your dispatch handler code here
::PostMessage(m_hWnd, WM_TEST, 0, 0);
}
// 消息映射
// Message map
BEGIN_MESSAGE_MAP(CTestactiveCtrl, COleControl)
//{{AFX_MSG_MAP(CTestactiveCtrl)
// NOTE - ClassWizard will add and remove message map entries
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG_MAP
ON_OLEVERB(AFX_IDS_VERB_PROPERTIES, OnProperties)
ON_MESSAGE(WM_TEST, OnTest)
END_MESSAGE_MAP()
// 消息响应函数
// Message maps
//{{AFX_MSG(CTestactiveCtrl)
// NOTE - ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
afx_msg LRESULT OnTest(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()