appheadc.h
来自「一个完整的编辑器的代码(很值得参考」· C头文件 代码 · 共 65 行
H
65 行
#ifndef __APPHEADC_H__INCLUDED__
#define __APPHEADC_H__INCLUDED__
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CAppHeaderCtrl window
#pragma warning ( disable : 4512 )
class CAppHeaderCtrl : public CHeaderCtrl
{
// Construction
public :
CAppHeaderCtrl ();
// Attributes
public :
BOOL m_bFlatHeader;
BOOL m_bBoldFont;
CFont m_HeaderFont;
int m_nOffset;
BOOL m_bLBtnDown;
// Operations
public :
void FlatHeader (BOOL bBoldFont = TRUE);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAppHeaderCtrl)
public :
virtual void DrawItem (LPDRAWITEMSTRUCT lpDrawItemStruct);
//}}AFX_VIRTUAL
// Implementation
public :
void DrawFlatBorder ();
int SetSortImage (int nCol, BOOL bAsc);
virtual ~CAppHeaderCtrl ();
// Generated message map functions
protected :
//{{AFX_MSG(CAppHeaderCtrl)
afx_msg void OnPaint ();
afx_msg void OnWindowPosChanging (WINDOWPOS FAR * lpwndpos);
//}}AFX_MSG
DECLARE_MESSAGE_MAP ()
protected :
int m_nSortCol;
BOOL m_bSortAsc;
};
#pragma warning ( default : 4512 )
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // __APPHEADC_H__INCLUDED__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?