?? skinlistctrl.h
字號:
#if !defined(AFX_SKINLISTCTRL_H__D65A645A_8C29_4A93_B453_ED9C92807426__INCLUDED_)
#define AFX_SKINLISTCTRL_H__D65A645A_8C29_4A93_B453_ED9C92807426__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SkinHeaderCtrl.h"
#include "SkinVerticleScrollbar.h"
class AFX_EXT_CLASS CSkinListCtrl : public CListCtrl
{
public:
CSkinListCtrl();
CSkinHeaderCtrl m_SkinHeaderCtrl;
CSkinVerticleScrollbar m_SkinVerticleScrollbar;
public:
COLORREF color;
protected:
CPen pen;
bool m_isLineColor;
CFont font;
protected:
int strToInt(const char *integer);
public:
//{{AFX_VIRTUAL(CSkinListCtrl)
protected:
virtual void PreSubclassWindow();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
public:
int GetListColumnCount();
CString GetListItemText( int nItem, int nSubItem ) const;
void SetItemText(int index,int columNumber,LPCTSTR itemText);
void InsertItem(int index);
void Init(/*CDialog *parent=NULL*/);
virtual ~CSkinListCtrl();
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
protected:
//{{AFX_MSG(CSkinListCtrl)
afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp);
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnPaint();
//}}AFX_MSG
afx_msg LRESULT OnSetFont(WPARAM wParam, LPARAM);
afx_msg void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct) ;
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_SKINLISTCTRL_H__D65A645A_8C29_4A93_B453_ED9C92807426__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -