#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" #include "CColorButton.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; // zxl 2013.02.22 add richedit支持 CRichEditCtrl* m_ctrlInputText; // sg add 090324,记录调用“词库”时,是否只支持“单行文字” BOOL m_bNeedSingleLineText; // del by zxl on 2013.03.13 // BOOL GetPosition(int& h, int& l); // Add by lcf On 2005-07-01 int m_nOperCode; BOOL GetPickText(); void SetTextUnderLine();// zxl 2013.02.22 add 设定文字下划线 // 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 virtual 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_)