⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filldlg.h

📁 故障诊断工作涉及的领域相当广泛
💻 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 + -