55 lines
1.5 KiB
C++
55 lines
1.5 KiB
C++
#if !defined(AFX_CHARTOOLBARDLG_H__1B436880_EF02_4DB5_9263_2933C1B710BA__INCLUDED_)
|
|
#define AFX_CHARTOOLBARDLG_H__1B436880_EF02_4DB5_9263_2933C1B710BA__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// CharToolbarDlg.h : header file
|
|
//
|
|
|
|
#include "Resource.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CCharToolbarDlg dialog
|
|
|
|
class CCharToolbarDlg : public CModelessDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
DECLARE_DYNAMIC(CCharToolbarDlg)
|
|
CCharToolbarDlg(UINT IDD, CWnd* pParent = NULL); // standard constructor
|
|
CString m_strInputText;
|
|
CToolBar m_toolbar;
|
|
CWnd* m_ctrlInputText;
|
|
|
|
// sg add 090324,记录调用“词库”时,是否只支持“单行文字”
|
|
BOOL m_bNeedSingleLineText;
|
|
|
|
BOOL GetPosition(int& h, int& l);
|
|
// Add by lcf On 2005-07-01
|
|
int m_nOperCode;
|
|
BOOL GetPickText();
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CCharToolbarDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
afx_msg BOOL OnToolTipText(UINT nID, NMHDR* pNMHDR, LRESULT* pResult);
|
|
afx_msg void OnChar(UINT nID); // ON_COMMAND_RANGE handler
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CCharToolbarDlg)
|
|
virtual BOOL OnInitDialog();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_CHARTOOLBARDLG_H__1B436880_EF02_4DB5_9263_2933C1B710BA__INCLUDED_)
|