📄 importdllwnd.h
字号:
//ImportDllWnd.h: interface for the CWndForDLL class.
#if !defined(_WNDFORDLL_H)
#define _WNDFORDLL_H
#include <afxtempl.h>
class CMyDoc;
class CMyView;
class __declspec(dllimport) CWndForDLL : public CWnd
{
public:
CWndForDLL();
DECLARE_DYNAMIC(CWndForDLL)
public:
CMyDoc* m_pDocument;
CMyView* m_pView;
CString m_funName;
BOOL m_bHaveMouseRight;
CString m_menuName;
UINT m_menuID;
CMenu* m_pDLLMenu;
CStringArray m_menuNameArray;
CArray<UINT,UINT> m_menuIDArray;
CArray<CMenu*,CMenu*> m_pDLLMenuArray;
public:
virtual ~CWndForDLL();
BOOL ConnectWithDocument(CMyDoc* );
void GetMouseRight();
void SetViewPoint(CMyView* pView){ m_pView = pView;}
void SetStatusText(CString& statusString);
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWndForDLL)
virtual void OnLostMouseRight();
virtual void OnMyDraw(CMyView* pView); //动态库临时维护
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
virtual BOOL AddMenu();
virtual BOOL DelMenu();
//}}AFX_VIRTUAL
friend class CMyDoc;
friend class CMyView;
// Generated message map functions
protected:
//{{AFX_MSG(CWndForDLL)
LRESULT OnLostMouse(WPARAM wParam, LPARAM lParam);
LRESULT OnMyPaint(WPARAM wParam, LPARAM lParam);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -