#pragma once // CPropSysReg1 对话框 class CPropSysReg1 : public CDialogEx { DECLARE_DYNAMIC(CPropSysReg1) public: CPropSysReg1(CWnd* pParent = nullptr); // 标准构造函数 virtual ~CPropSysReg1(); // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_PROPPAGE_SYSREG1 }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() public: int m_nPropHeight; int m_nFrameheight; int m_nScrollPos = 0; int ShowParams(); int GetParams(); virtual BOOL OnInitDialog(); afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg void OnMouseHWheel(UINT nFlags, short zDelta, CPoint pt); afx_msg void OnSize(UINT nType, int cx, int cy); };