baselistctrl.h

来自「基于WINDOWS mobile 的用于创建一个窗体和自定义试图的工程」· C头文件 代码 · 共 71 行

H
71
字号
#if !defined(AFX_BASELISTCTRL_H__69D2BE5A_29B0_485D_AF60_884E2911AAC8__INCLUDED_)
#define AFX_BASELISTCTRL_H__69D2BE5A_29B0_485D_AF60_884E2911AAC8__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// BaseListCtrl.h : header file
//


//---------------------------------------------------------------------------
//
//	CBaseListCtrl window
//
//---------------------------------------------------------------------------


class CBaseListCtrl : public CListCtrl
{
// Construction
public:
	CBaseListCtrl();

// Attributes
public:

// Operations
public:

	/// Creates the list control as a child of a frame
	//
	BOOL Create(DWORD dwStyle, const RECT&rect, CWnd *pParentWnd, UINT nID);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBaseListCtrl)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CBaseListCtrl();

	// Generated message map functions
protected:
	BOOL	m_bAPI;			///< Created by the API?

	//! Called after the API create method succeeds
	//
	virtual void PostCreateWindow(CREATESTRUCT& cs);

	//{{AFX_MSG(CBaseListCtrl)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnDestroy();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};


//---------------------------------------------------------------------------


//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BASELISTCTRL_H__69D2BE5A_29B0_485D_AF60_884E2911AAC8__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?