skinlistctrl.h
来自「小型影碟出租企业管理系统」· C头文件 代码 · 共 66 行
H
66 行
#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 + =
减小字号Ctrl + -
显示快捷键?