www.pudn.com > Multilines_demo.zip > multilinesDlg.h


// multilinesDlg.h : header file 
// 
 
#pragma once 
#include "afxcmn.h" 
#include "afxwin.h" 
#include "MultiLineListCtrl.h" 
 
// CmultilinesDlg dialog 
class CmultilinesDlg : public CDialog 
{ 
// Construction 
public: 
	CmultilinesDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	enum { IDD = IDD_MULTILINES_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 OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	DECLARE_MESSAGE_MAP() 
public: 
	afx_msg void OnBnClickedPrev(); 
	CListCtrl m_list_default; 
	CMultiLineListCtrl m_list_multi; 
	afx_msg void OnBnClickedNext(); 
	CEdit m_edit; 
	CStatic m_row; 
	CStatic m_col; 
	afx_msg void OnBnClickedInsert(); 
	CSliderCtrl m_sc_row; 
	CSliderCtrl m_sc_col; 
	afx_msg void OnNMReleasedcaptureScCol(NMHDR *pNMHDR, LRESULT *pResult); 
	afx_msg void OnNMReleasedcaptureScRow(NMHDR *pNMHDR, LRESULT *pResult); 
	bool m_default; 
};