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

📄 gfxincombolist.h

📁 我自己整理的一些VC源代码
💻 H
字号:
#if !defined(AFX_GFXINCOMBOLIST_H__B8F997D5_E92B_11D1_86F0_000000000000__INCLUDED_)
#define AFX_GFXINCOMBOLIST_H__B8F997D5_E92B_11D1_86F0_000000000000__INCLUDED_

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

#define WM_USER_SELENDOK	WM_USER+2

/////////////////////////////////////////////////////////////////////////////
// CGfxInComboList window
class CGfxInCombo;

typedef struct st_iteminfo
{
	CString strText;
	DWORD	dwData;
} st_iteminfo;

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

// Attributes
public:
	CGfxInCombo * pCombo;
	int			  iLastSel;
	//CString		  csLastItem;
	st_iteminfo   stItem;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGfxInComboList)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL

// Implementation
public:
	int GetColumnCount();
	virtual ~CGfxInComboList();

	// Generated message map functions
protected:
	//{{AFX_MSG(CGfxInComboList)
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_GFXINCOMBOLIST_H__B8F997D5_E92B_11D1_86F0_000000000000__INCLUDED_)

⌨️ 快捷键说明

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