dispatcher.h

来自「讲mfc的书」· C头文件 代码 · 共 51 行

H
51
字号
// dispatcher.h : header file
//



/////////////////////////////////////////////////////////////////////////////
// dispatcher command target

class CDispatcher : public CCmdTarget
{
        DECLARE_DYNCREATE(CDispatcher)

        CDispatcher();           // protected constructor used by dynamic creation

// Attributes
public:

private:
	   int m_beepType;
// Operations
public:
        void Beep(void);
// Overrides
        // ClassWizard generated virtual function overrides
        //{{AFX_VIRTUAL(CDispatcher)
        public:
        virtual void OnFinalRelease();
        //}}AFX_VIRTUAL

// Implementation
protected:
        virtual ~CDispatcher();

        // Generated message map functions
        //{{AFX_MSG(CDispatcher)
                // NOTE - the ClassWizard will add and remove member functions here.
        //}}AFX_MSG

        DECLARE_MESSAGE_MAP()
        DECLARE_OLECREATE(CDispatcher)

        // Generated OLE dispatch map functions
        //{{AFX_DISPATCH(CDispatcher)
                // NOTE - the ClassWizard will add and remove member functions here.
        //}}AFX_DISPATCH
        DECLARE_DISPATCH_MAP()
        DECLARE_INTERFACE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?