#pragma once // CChidSysCfg1 对话框 #include "../MTerm1/KDefine.h" class CChidSysCfg1 : public CDialogEx { DECLARE_DYNAMIC(CChidSysCfg1) public: CChidSysCfg1(CWnd* pParent = nullptr); // 标准构造函数 virtual ~CChidSysCfg1(); // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_PROP_SYSREG1 }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() public: int m_nPropHeight; int m_nFrameheight; int m_nScrollPos = 0; pstKMSysCfg psyscfg; int DelayInit(); int ShowParams(); int GetParams(); virtual BOOL OnInitDialog(); afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnMouseHWheel(UINT nFlags, short zDelta, CPoint pt); afx_msg void OnTimer(UINT_PTR nIDEvent); virtual BOOL OnChildNotify(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pLResult); int UpdateScrollInfo(); int VScrollBy(int nPos); virtual BOOL PreTranslateMessage(MSG* pMsg); };