⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 friendslistview.h

📁 c++系统开发实例精粹内附的80例源代码 环境:windows2000,c++6.0
💻 H
字号:
//////////////////////////////////////////////////////////////////////
// FileFury
// Copyright (c) 2000 Tenebril Incorporated
// All rights reserved.
//
// This source code is governed by the Tenebril open source
// license (http://www.tenebril.com/developers/opensource/license.html)
//
// For more information on this and other open source applications,
// visit the Tenebril OpenSource page:
//       http://www.tenebril.com/developers/opensource
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FRIENDSLISTVIEW_H__2D183D21_6208_11D3_B8DD_00600838CD5F__INCLUDED_)
#define AFX_FRIENDSLISTVIEW_H__2D183D21_6208_11D3_B8DD_00600838CD5F__INCLUDED_

#include "BackListBox.h"	// Added by ClassView
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// FriendsListView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CFriendsListView view

class CFriendsListView : public CView
{
	friend class CFriendsListFrame;

protected:
	CFriendsListView();
	DECLARE_DYNCREATE(CFriendsListView)

// Attributes
public:

// Operations
public:
	BOOL SelectItem(int nItem);
	BOOL UpdateList();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFriendsListView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CFriendsListView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	BOOL m_bWaitInit;
	afx_msg void OnKeyDown(NMHDR *pNMHDR, LRESULT *pResult);
	void OnItemDblClk(NMHDR *pMessageHeader, LRESULT *pResult);
	BOOL StopUpdate(BOOL bWait);
	CBitmap * m_pOffBmp;
	CBitmap * m_pOnBmp;
	CImageList * m_pImageList;
	CBackListBox m_cListCtrl;

	static UINT PASCAL DriveUpdateList(LPVOID *Param);

	//{{AFX_MSG(CFriendsListView)
		afx_msg BOOL OnEraseBkgnd(CDC* pDC);
		afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
		afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FRIENDSLISTVIEW_H__2D183D21_6208_11D3_B8DD_00600838CD5F__INCLUDED_)

⌨️ 快捷键说明

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