ListCtrlDlg.h
上传用户:sunnie
上传日期:2022-07-13
资源大小:4512k
文件大小:1k
- // ListCtrlDlg.h : header file
- //
- #pragma once
- #include "afxcmn.h"
- #include "ListCtrlEx.h"
- #include "afxwin.h"
- // CListCtrlDlg dialog
- class CListCtrlDlg : public CDialog
- {
- // Construction
- public:
- CListCtrlDlg(CWnd* pParent = NULL); // standard constructor
- BOOL InitLst();
- int m_nPos;
- // Dialog Data
- enum { IDD = IDD_LISTCTRL_DIALOG };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- DECLARE_MESSAGE_MAP()
- public:
- CListCtrlEx m_lstCtrl;
- CButton m_btnInsertCtrl;
- CButton m_btnInsertNormal;
- afx_msg void OnBnClickedBtnInsertctrl();
- afx_msg void OnBnClickedBtnNormal();
- virtual BOOL DestroyWindow();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- CButton m_btnShowBar;
- afx_msg void OnBnClickedBtnShowbar();
- afx_msg void OnBnClickedBtnShowchk();
- CButton m_btnChkBox;
- protected:
- virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
- public:
- CButton m_btnEdit;
- afx_msg void OnBnClickedBtnEdt();
- afx_msg void OnTimer(UINT_PTR nIDEvent);
- };