70 lines
1.9 KiB
C++
70 lines
1.9 KiB
C++
#if !defined(AFX_ARROWTEXTDLG_H__795837E4_723B_4B07_8192_8C5D06A24845__INCLUDED_)
|
|
#define AFX_ARROWTEXTDLG_H__795837E4_723B_4B07_8192_8C5D06A24845__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// ArrowTextDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CArrowTextDlg dialog
|
|
//#include "CharToolbarDlg.h"
|
|
#include "BaseTextDlg.h"
|
|
|
|
class CArrowTextDlg : public CBaseTextDlg
|
|
{
|
|
// Construction
|
|
public:
|
|
DECLARE_DYNAMIC(CArrowTextDlg)
|
|
CArrowTextDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CArrowTextDlg)
|
|
enum { IDD = IDD_ARROW_TEXT };
|
|
CComboBox m_comboHistory;
|
|
//}}AFX_DATA
|
|
static CString g_csArrowSize;
|
|
static BOOL m_bContinue; // Add by lcf on 2005-06-29
|
|
void AddToRecent();
|
|
|
|
XStringList m_lstHistory;
|
|
CEdit m_editInputText;
|
|
|
|
static CString m_csText; // sg add 090123,等同与m_strInputText,只起保存作用
|
|
static CString m_csText2; // sg add 090108
|
|
CComboBox m_comboText2;
|
|
|
|
virtual void Dlg2Obj(TDbSymbArrow *pText);
|
|
virtual void Obj2Dlg(TDbSymbArrow *pText);
|
|
void LoadHisText();
|
|
|
|
virtual CWnd* GetCurWnd();
|
|
virtual void UpdateInputText(); // sg add 090225
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CArrowTextDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CArrowTextDlg)
|
|
virtual BOOL OnInitDialog();
|
|
virtual void OnOK();
|
|
afx_msg void OnSelchangeComboHistoryText();
|
|
afx_msg void OnSelchangeComboText2(); // sg add 090108
|
|
afx_msg void OnSelchangeComboAlignment();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_ARROWTEXTDLG_H__795837E4_723B_4B07_8192_8C5D06A24845__INCLUDED_)
|