#pragma once #include "CPropSysReg1.h" // CDialogSysRegSet 对话框 //class CPropSysReg1; class CDialogSysRegSet : public CDialogEx { DECLARE_DYNAMIC(CDialogSysRegSet) public: CDialogSysRegSet(CWnd* pParent = nullptr); // 标准构造函数 virtual ~CDialogSysRegSet(); RECT rect0; RECT rect1; int m_nPropHeight; int m_nFrameheight; int m_nScrollPos = 0; // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_DIALOG_SYSREG_SET }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 CPropSysReg1 m_propsysreg1; DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); CScrollBar m_prop_scrollbar1; afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt); };