📄 ~separator.~h
字号:
#if !defined(AFX_SEPARATOR_H__EDB8C037_4B69_4D06_A2AA_F5605D996AC3__INCLUDED_)
#define AFX_SEPARATOR_H__EDB8C037_4B69_4D06_A2AA_F5605D996AC3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Separator.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSeparator window
class CSeparator : public CStatic
{
// Construction
public:
typedef enum {dirHorizontal, dirVertical} sep_dir;
CSeparator();
void set_dir(sep_dir d);
void set_cl(COLORREF c);
void set_width(int w);
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSeparator)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CSeparator();
// Generated message map functions
protected:
//{{AFX_MSG(CSeparator)
afx_msg void OnPaint();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
sep_dir m_dir;
COLORREF cl;
int width;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SEPARATOR_H__EDB8C037_4B69_4D06_A2AA_F5605D996AC3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -