familytree.h

来自「是一个很好的c++家族管理系统」· C头文件 代码 · 共 70 行

H
70
字号
// Familytree.h : main header file for the PEDIGREE application
//

#if !defined(AFX_PEDIGREE_H__82F68C9F_EA19_4667_AB76_EB6C77838402__INCLUDED_)
#define AFX_PEDIGREE_H__82F68C9F_EA19_4667_AB76_EB6C77838402__INCLUDED_

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

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CFamilytreeApp:
// See Familytree.cpp for the implementation of this class
//定义通讯信息数据信息
struct bookData{
	CString szName;
	CString szEmail;
	CString szOicq;
	CString szMobile;
	CString szPhone;
	CString szBirthday;
	CString szWorkUnit;
	CString szHomepage;
	CString szDemo;
};
class CFamilytreeApp : public CWinApp
{
public:
	void GetCurDir(TCHAR *szBuffer,TCHAR *szTempBuf);
	CFamilytreeApp();
	BOOL InitODBC();
	BOOL LoadODBC(CString strSourceName,CString strSourceDb, CString strDescription);
//==========================================================================
//定义通讯信息数据
	bookData m_bookData;
	CString m_szSelectItem;
	CString m_szGroupName;
	CString m_szValue;
	CString m_szToEmail;
	CString m_szNetName;
	CString m_szNetAddress;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFamilytreeApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CFamilytreeApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_PEDIGREE_H__82F68C9F_EA19_4667_AB76_EB6C77838402__INCLUDED_)

⌨️ 快捷键说明

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