Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.4 KiB

  1. /**************************************************/
  2. /* */
  3. /* */
  4. /* Reference other characters */
  5. /* (Dialog) */
  6. /* */
  7. /* Copyright (c) 1997-1999 Microsoft Corporation. */
  8. /**************************************************/
  9. #include "refrlist.h"
  10. #include "eudclist.h"
  11. class CRefrDlg : public CDialog
  12. {
  13. public:
  14. CRefrDlg(CWnd* pParent = NULL);
  15. //{{AFX_DATA(CRefrDlg)
  16. enum { IDD = IDD_REFERENCE };
  17. //}}AFX_DATA
  18. private:
  19. void SetViewFont();
  20. void JumpReferCode();
  21. void AdjustFontName();
  22. private:
  23. int vHeight;
  24. TCHAR FocusCode[5];
  25. TCHAR FocusChar[3];
  26. TCHAR FontName[LF_FACESIZE];
  27. CRefListFrame m_RefListFrame1;
  28. CRefInfoFrame m_RefInfoFrame;
  29. CColumnHeading m_ColumnHeadingR;
  30. CEdit m_EditChar;
  31. public:
  32. CRefrList m_CodeList;
  33. protected:
  34. virtual BOOL OnInitDialog();
  35. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  36. //{{AFX_MSG(CRefrDlg)
  37. afx_msg void OnClickedButtomfont();
  38. virtual void OnOK();
  39. virtual void OnCancel();
  40. afx_msg void OnChangeEditcode();
  41. afx_msg void OnSetfocusEditcode();
  42. afx_msg void OnKillfocusEditcode();
  43. afx_msg void OnSetfocusEditchar();
  44. afx_msg void OnKillfocusEditchar();
  45. afx_msg void OnChangeEditchar();
  46. afx_msg void OnDestroy();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };