PagePopupMenus.h
上传用户:sesekoo
上传日期:2020-07-18
资源大小:21543k
文件大小:3k
源码类别:

界面编程

开发平台:

Visual C++

  1. #if !defined(AFX_PAGEPOPUPMENUS_H__37F8A029_132C_4EEF_8BA8_FC82B64EFCEC__INCLUDED_)
  2. #define AFX_PAGEPOPUPMENUS_H__37F8A029_132C_4EEF_8BA8_FC82B64EFCEC__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PagePopupMenus.h : header file
  7. //
  8. #include "PageBase.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CPagePopupMenus dialog
  11. class CPagePopupMenus : public CPageBase
  12. {
  13. // Construction
  14. public:
  15. CPagePopupMenus(CWnd* pParent = NULL);   // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CPagePopupMenus)
  18. enum { IDD = IDD_PAGE_POPUP_MENUS };
  19. CExtCheckBox m_checkUseAcceleratedMenuScrolling;
  20. CExtEdit m_editIncreasePercent;
  21. CExtEdit m_editIncreaseStep;
  22. CExtEdit m_editCountOfItems;
  23. CExtEdit m_editMaxPixelsPerStep;
  24. CExtSpinWnd m_spinIncreasePercent;
  25. CExtSpinWnd m_spinIncreaseStep;
  26. CExtSpinWnd m_spinCountOfItems;
  27. CExtSpinWnd m_spinMaxPixelsPerStep;
  28. CExtLabel m_labelIncreasePercent;
  29. CExtLabel m_labelIncreaseStep;
  30. CExtLabel m_labelCountOfItems;
  31. CExtLabel m_labelMaxPixelsPerStep;
  32. CExtGroupBox m_groupBoxLongSubMenuSettings;
  33. CExtLabel m_Static1;
  34. CExtCheckBox m_chkMenuWithShadows;
  35. CExtCheckBox m_chkMenuAnimation;
  36. CExtCheckBox m_chkPaletteWithCustomDrawnBackground;
  37. CExtGroupBox m_groupBoxMenuAnimation;
  38. CExtComboBox m_MenuAnimation;
  39. //}}AFX_DATA
  40. // Overrides
  41. // ClassWizard generated virtual function overrides
  42. //{{AFX_VIRTUAL(CPagePopupMenus)
  43. protected:
  44. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45. //}}AFX_VIRTUAL
  46. // Implementation
  47. protected:
  48. bool m_bInitComplete:1;
  49. // Generated message map functions
  50. //{{AFX_MSG(CPagePopupMenus)
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnSelendokMenuAnimation();
  53. afx_msg void OnCheckMenuAnimation();
  54. afx_msg void OnCheckMenuWithShadows();
  55. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  56. afx_msg void OnCheckUseAcceleratedMenuScrolling();
  57. afx_msg void OnChangeEditIncreasePercent();
  58. afx_msg void OnChangeEditIncreaseStep();
  59. afx_msg void OnChangeEditMaxPixelsPerStep();
  60. //}}AFX_MSG
  61. afx_msg LRESULT OnColorSelectCustom(WPARAM wParam, LPARAM lParam);
  62. afx_msg LRESULT OnColorChangedFinally(WPARAM wParam, LPARAM lParam);
  63. LRESULT OnMsgSelectionNotification( WPARAM wParam, LPARAM lParam );
  64. afx_msg LRESULT OnExtMenuPrepare(WPARAM wParam, LPARAM lParam);
  65. afx_msg LRESULT OnExtMenuDrawBackground(WPARAM wParam, LPARAM lParam);
  66. afx_msg LRESULT OnDrawPopupMenuItem(WPARAM wParam, LPARAM lParam);
  67. afx_msg LRESULT OnDrawPopupLeftArea(WPARAM wParam, LPARAM lParam);
  68. afx_msg void OnMenuRarelyItem1();
  69. afx_msg void OnUpdateMenuRarelyItem1( CCmdUI * pCmdUI );
  70. afx_msg void OnMenuRarelyItem2();
  71. afx_msg void OnUpdateMenuRarelyItem2( CCmdUI * pCmdUI );
  72. afx_msg void OnMenuRarelyItem3();
  73. afx_msg void OnUpdateMenuRarelyItem3( CCmdUI * pCmdUI );
  74. DECLARE_MESSAGE_MAP()
  75. };
  76. //{{AFX_INSERT_LOCATION}}
  77. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  78. #endif // !defined(AFX_PAGEPOPUPMENUS_H__37F8A029_132C_4EEF_8BA8_FC82B64EFCEC__INCLUDED_)