ThirdDefine.h
上传用户:sunnie
上传日期:2022-07-13
资源大小:4512k
文件大小:1k
- #ifndef ThirdDefine_H_
- #define ThirdDefine_H_
- class CListCtrlRow
- {
- public:
- CListCtrlRow();
- ~CListCtrlRow();
- BOOL CreateProgBar(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
- BOOL CreateEditBox(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
- BOOL CreateChkBox(LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
- BOOL DestroyWindow();
- BOOL MoveProgressBar(LPCRECT lpRect, BOOL bRepaint = TRUE);
- BOOL MoveEditBox(LPCRECT lpRect, BOOL bRepaint = TRUE);
- BOOL MoveChkBox(LPCRECT lpRect, BOOL bRepaint = TRUE);
- const int GetRow() const;
- void SetRow(const int nRow);
- CProgressCtrl* GetProgressBar() const;
- void SetProgressBar(CProgressCtrl* pProgressBar);
- CEdit* GetEdit() const;
- void SetEdit(CEdit* pEdit);
- CButton* GetChkBox() const;
- void SetChkBox(CButton* pChkBox);
- private:
- int m_nRow;
- CProgressCtrl* m_pProgressBar;
- CEdit* m_pEdit;
- CButton* m_pChkBox;
- };
- #endif