setdlg.h

来自「用VC编的电子日记软件」· C头文件 代码 · 共 70 行

H
70
字号
#if !defined(AFX_SETDLG_H__CDF8E740_8C51_11D7_BF21_D4A2E555A84F__INCLUDED_)
#define AFX_SETDLG_H__CDF8E740_8C51_11D7_BF21_D4A2E555A84F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSetDlg dialog
#include "mystatic.h"
#include "mybutton.h"
#include "filedoc.h"
class CSetDlg : public CDialog
{
// Construction
public:
	CSetDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSetDlg)
	enum { IDD = IDD_DIALOG_SET };
	CMyStatic	m_text1;
	CMyStatic	m_text;
	CMyStatic	m_srekey;
	CMyStatic	m_key;
	CButton	m_check;
	CString	m_editkey;
	CString	m_rekey;
	CString	m_path;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	CRgn rgna;
	CRgn rgnb;
	CRgn rgnc;
	CMyButton btnok;
	CMyButton btncancel;
	CMyButton btnlist;
	CFileDoc doc;
	CString key;
	// Generated message map functions
	//{{AFX_MSG(CSetDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg BOOL OnEraseBkgnd(CDC *pDC);
	afx_msg void OnDestroy();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnList();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SETDLG_H__CDF8E740_8C51_11D7_BF21_D4A2E555A84F__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?