bklistbox.h

来自「Visualc++6.0自学手册第4章」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_BKLISTBOX_H__59D00360_A7AA_43F8_9CA4_525CD76B1246__INCLUDED_)
#define AFX_BKLISTBOX_H__59D00360_A7AA_43F8_9CA4_525CD76B1246__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CBKListBox window

class CBKListBox : public CListBox
{
// Construction
public:
	CBKListBox();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBKListBox)
	//}}AFX_VIRTUAL

// Implementation
public:
	CBitmap m_Bitmap;   // 位图背景对象
	CBrush m_brHollow;  // 空心画刷对象
	virtual ~CBKListBox();

	// Generated message map functions
protected:
	//{{AFX_MSG(CBKListBox)
	afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnSelchange();
	//}}AFX_MSG	

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_BKLISTBOX_H__59D00360_A7AA_43F8_9CA4_525CD76B1246__INCLUDED_)

⌨️ 快捷键说明

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