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

📄 persistdlg.h

📁 visual c++ 实例编程
💻 H
字号:
/*  This file was written by Amir Israeli , July 2000   Email: israelaq@walla.co.il  
No warranty of any kind . Dont remove this header . Thanks.
*/
#if !defined(AFX_PERSISTDLG_H__E617EEC0_5B26_11D4_B8C4_9BED3EA9F758__INCLUDED_)
#define AFX_PERSISTDLG_H__E617EEC0_5B26_11D4_B8C4_9BED3EA9F758__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPersistDlg dialog
#include "RegistrySerialize.h"
#include "ToolTipEx.h"

class CPersistDlg : public CDialog
{
// Construction
public:
	CPersistDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPersistDlg)
	enum { IDD = IDD_SERIALIZE_DIALOG };
	CString	m_strDefault;
	int		m_iAge;
	CString	m_strName;
	CString	m_strPoint;
	CString	m_strRect;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPersistDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPersistDlg)
	afx_msg void OnInstall();
	afx_msg void OnUninstall();
	afx_msg void OnLoad();
	afx_msg void OnSave();
	virtual BOOL OnInitDialog();
	afx_msg void OnSavemap();
	afx_msg void OnLoadmap();
	afx_msg void OnInfo();
	afx_msg void OnLoadres();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	
	void PersistObject(BOOL bLoad);//to use in load/save
	CRegistrySerialize  persistObj;
	CToolTipEx  tip;
};

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

#endif // !defined(AFX_PERSISTDLG_H__E617EEC0_5B26_11D4_B8C4_9BED3EA9F758__INCLUDED_)

⌨️ 快捷键说明

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