www.pudn.com > VC++-develop-GIS.rar > TextWriteDlg.h


#if !defined(AFX_TEXTWRITEDLG_H__CDB83382_8B3E_11D2_AE7B_444553540000__INCLUDED_) 
#define AFX_TEXTWRITEDLG_H__CDB83382_8B3E_11D2_AE7B_444553540000__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
// TextWriteDlg.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// TextWriteDlg dialog 
class CDrawView; 
class TextWriteDlg : public CDialog 
{ 
// Construction 
public: 
	BOOL IsOpen(); 
	BOOL IsVisible(); 
	TextWriteDlg(CWnd* pParent = NULL);   // standard constructor 
	TextWriteDlg(CWnd* pParent,CString Text,float FontHeight,float FontWide,float Angle1,float Angle2,float FontBetween); 
	float	m_FontHeight; 
	float	m_FontWide; 
	float	m_Angle1; 
	float	m_Angle2; 
	float	m_FontBetween; 
	CDrawView *m_pView; 
// Dialog Data 
	//{{AFX_DATA(TextWriteDlg) 
	enum { IDD = ID_WRITE_TEXT }; 
	CString	m_Text; 
	//}}AFX_DATA 
 
	void Init(CString Text,float FontHeight,float FontWide,float Angle1,float Angle2,float FontBetween); 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(TextWriteDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(TextWriteDlg) 
	afx_msg void OnTextFont(); 
	afx_msg void OnChangeText(); 
	virtual void OnOK(); 
	virtual void OnCancel(); 
	virtual BOOL OnInitDialog(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
// TextFontDlg dialog 
 
class TextFontDlg : public CDialog 
{ 
// Construction 
public: 
	TextFontDlg(CWnd* pParent = NULL);   // standard constructor 
	TextFontDlg(float FontHeight,float FontWide,float Angle1,float Angle2,float FontBetween,CWnd* pParent = NULL); 
// Dialog Data 
	//{{AFX_DATA(TextFontDlg) 
	enum { IDD = ID_TEXT_FONT }; 
	float	m_FontHeight; 
	float	m_FontWide; 
	float	m_Angle1; 
	float	m_Angle2; 
	float	m_FontBetween; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(TextFontDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(TextFontDlg) 
		// NOTE: the ClassWizard will add 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_TEXTWRITEDLG_H__CDB83382_8B3E_11D2_AE7B_444553540000__INCLUDED_)