📄 menupage.h
字号:
//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This source code is a part of BCGControlBar library.
// You may use, compile or redistribute it as part of your application
// for free. You cannot redistribute it as a part of a software development
// library without the agreement of the author. If the sources are
// distributed along with the application, you should leave the original
// copyright notes in the source code without any changes.
// This code can be used WITHOUT ANY WARRANTIES on your own risk.
//
// Stas Levin <stas@iet.co.il>
//*******************************************************************************
#if !defined(AFX_MENUPAGE_H__385604B4_DDC0_11D1_A64F_00A0C93A70EC__INCLUDED_)
#define AFX_MENUPAGE_H__385604B4_DDC0_11D1_A64F_00A0C93A70EC__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// MenuPage.h : header file
//
#ifndef __AFXTEMPL_H__
#include "afxtempl.h"
#endif
#include "bcgbarres.h"
class CBCGMenuBar;
class CBCGPopupMenu;
/////////////////////////////////////////////////////////////////////////////
// CBCGMenuPage dialog
class CBCGMenuPage : public CPropertyPage
{
DECLARE_DYNCREATE(CBCGMenuPage)
// Construction
public:
CBCGMenuPage(BOOL bAutoSet = FALSE);
~CBCGMenuPage();
// Operations
public:
void CloseContextMenu (CBCGPopupMenu* pMenu);
// Dialog Data
//{{AFX_DATA(CBCGMenuPage)
enum { IDD = IDD_BCGBARRES_PROPPAGE3 };
CStatic m_wndMenuAnimationsLabel;
CComboBox m_wndMenuAnimations;
CButton m_wndMenuShadows;
CButton m_wndContextFrame;
CStatic m_wndContextHint;
CButton m_wndResetMenuButton;
CStatic m_wndContextMenuCaption;
CComboBox m_wndContextMenus;
CStatic m_wndIcon;
CComboBox m_wndMenuesList;
CString m_strMenuDescr;
CString m_strContextMenuName;
CString m_strMenuName;
int m_iMenuAnimationType;
BOOL m_bMenuShadows;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CBCGMenuPage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CBCGMenuPage)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeMenuList();
afx_msg void OnDestroy();
afx_msg void OnSelchangeContextMenuList();
afx_msg void OnResetMenu();
afx_msg void OnBcgbarresResetFrameMenu();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
void SaveMenu ();
// Attributes:
protected:
CBCGMenuBar* m_pMenuBar;
HMENU m_hmenuCurr;
HMENU m_hmenuSelected;
CBCGPopupMenu* m_pContextMenu;
BOOL m_bIsDefaultMDIMenu;
static CPoint m_ptMenuLastPos;
BOOL m_bAutoSet;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MENUPAGE_H__385604B4_DDC0_11D1_A64F_00A0C93A70EC__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -