📄 wzdmenu.h
字号:
#if !defined(AFX_WZDMENU_H__18606914_D521_11D1_9B69_00AA003D8695__INCLUDED_)
#define AFX_WZDMENU_H__18606914_D521_11D1_9B69_00AA003D8695__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// WzdMenu.h : header file
//
#include "afxtempl.h"
struct MENUENTRY {
CString str;
UINT id;
UINT chr;
CSize size;
int inx;
};
/////////////////////////////////////////////////////////////////////////////
// CWzdMenu window
class CWzdMenu : public CMenu
{
// Construction
public:
CWzdMenu();
virtual ~CWzdMenu();
// Attributes
public:
// Operations
public:
void CreatePopupEx(int nCmds,UINT *pMenuCmds);
void InitMenu(CWnd *pWnd, CMenu *pMenu, UINT idb, CToolBar *pToolBar);
void InitMenuPopup();
void MeasureItem(LPMEASUREITEMSTRUCT lpMIS);
void DrawItem(LPDRAWITEMSTRUCT lpDIS);
LRESULT MenuChar(UINT nChar);
// Implementation
public:
private:
CBitmap m_bitmap;
CList<MENUENTRY*,MENUENTRY*> m_FullMenuList;
CList<MENUENTRY*,MENUENTRY*> m_CurrentMenuList;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WZDMENU_H__18606914_D521_11D1_9B69_00AA003D8695__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -