?? filldlg.h
字號:
#if !defined(AFX_FILLDLG_H__1C90D9E3_C2C3_11CF_BF56_B29AF85F4C3B__INCLUDED_)
#define AFX_FILLDLG_H__1C90D9E3_C2C3_11CF_BF56_B29AF85F4C3B__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// FillDlg.h : header file
//
class CPatternBtn : public CButton
{
// Construction
public:
CPatternBtn();
// Attributes
public:
int m_nIndex;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPatternBtn)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CPatternBtn();
// Generated message map functions
protected:
//{{AFX_MSG(CPatternBtn)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILLDLG_H__1C90D9E3_C2C3_11CF_BF56_B29AF85F4C3B__INCLUDED_)
/////////////////////////////////////////////////////////////////////////////
// CFillDlg dialog
class CFillDlg : public CDialog
{
// Construction
public:
CFillDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFillDlg)
enum { IDD = IDD_DIALOG_FILL };
CListBox m_PatternList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFillDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Attribute:
public:
int m_nCurPattern;
// Implementation
protected:
CPatternBtn m_PatternBtn[6];
void Update(int nIndex);
void ExpandDialog(int nResourceID,BOOL bExpand);
void EnableVisibleChildren();
// Generated message map functions
//{{AFX_MSG(CFillDlg)
afx_msg void OnButtonMore();
afx_msg void OnButtonPick();
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeListPattern();
afx_msg void OnPattern1();
afx_msg void OnPattern2();
afx_msg void OnPattern3();
afx_msg void OnPattern4();
afx_msg void OnPattern5();
afx_msg void OnPattern6();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CPatternBtn window
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -