// 自定义消息
#define UM_VLISA WM_USER+1
#define UM_PARAM WM_USER+2
class MySelfWnd : public CWnd
{
public:
MySelfWnd();
DECLARE_DYNCREATE(MySelfWnd)
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
virtual ~MySelfWnd();
protected:
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void PopVlisa(); // 无参数消息
afx_msg void OnmsgParam(WPARAM ......
阅读全文