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

📄 testddlg.h

📁 用VC编的电子日记软件
💻 H
字号:
// testdDlg.h : header file
//

#if !defined(AFX_TESTDDLG_H__9D2A50E6_862F_11D7_BF21_886912A44014__INCLUDED_)
#define AFX_TESTDDLG_H__9D2A50E6_862F_11D7_BF21_886912A44014__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CTestdDlg dialog
#include "mystatic.h"
#include "getday.h"
#include "mybuttona.h"
#include "mybutton.h"
#include "setdlg.h"
#include "filedoc.h"
#include "fileopendlg.h"
class CTestdDlg : public CDialog
{
// Construction
public:
	bool move;
	void GetDate();
	void GetNumber(int year);
	BOOL bdown;
	CTestdDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTestdDlg)
	enum { IDD = IDD_TESTD_DIALOG };
	CEdit	m_edit;
	CMyStatic	m_link;
	CMyStatic	m_mood;
	CMyStatic	m_welcome2;
	CMyStatic	m_welcome;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
    CRgn rgn1;
	CRgn rgn2;
	CRgn rgn3;
    CGetDay date;
	COLORREF color;
	CRect rect;
	CMyButtona think;
	CString m_write;
	CMyButton btnsave;
	CMyButton btnopen;
	CMyButton btnselect;
	CMyButton btnset;
	CMyButton btnfont;
    CSetDlg setdlg;
    CFileDoc doc;
    CString time;
    CString dat;
    CFileopenDlg filedlg;
protected:
	CRect editrect;
	CString filename;
	COLORREF fontcolor;
	CFont *font;
	LOGFONT lft;

	// Generated message map functions
	//{{AFX_MSG(CTestdDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg BOOL OnEraseBkgnd(CDC *pDC);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnThink();
	afx_msg void OnOpen();
	afx_msg void OnSet();
	afx_msg void OnSave();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDestroy();
	afx_msg void OnNcRButtonDown(UINT nFlags, CPoint point);
	afx_msg UINT OnNcHitTest(CPoint point);
	afx_msg void OnExit();
	afx_msg void OnFont();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TESTDDLG_H__9D2A50E6_862F_11D7_BF21_886912A44014__INCLUDED_)

⌨️ 快捷键说明

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