Leaked source code of windows server 2003
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.

59 lines
1.8 KiB

  1. /******************************************************************************
  2. Header File: Add Code Points.H
  3. This defines the CAddCodePoints class, which uses passed lists to present a
  4. list of code points and their associated code pages for selection. This
  5. class should be usable for both the glyph map and font structure editors.
  6. Copyright (c) 1997 by Microsoft Corporation. All Rights Reserved.
  7. A Pretty Penny Enterprises Production
  8. Change History:
  9. 03-01-1997 Bob_Kjelgaard@Prodigy.Net Created it
  10. ******************************************************************************/
  11. #include "Utility.H"
  12. class CAddCodePoints : public CDialog {
  13. CMapWordToDWord& m_cmw2dPoints;
  14. CDWordArray& m_cdaPages;
  15. CString m_csItem; // Name of the item being edited
  16. CStringArray m_csaNames; // Names of the pages.
  17. unsigned m_uTimer; // Timer ID
  18. POSITION m_pos; // Position in input list
  19. CString m_csHolder;
  20. // Construction
  21. public:
  22. CAddCodePoints(CWnd* pParent, CMapWordToDWord& cmw2d, CDWordArray& cda,
  23. CString csItemName);
  24. // Dialog Data
  25. //{{AFX_DATA(CAddCodePoints)
  26. enum { IDD = IDD_AddCodePoints };
  27. CProgressCtrl m_cpcBanner;
  28. CListBox m_clbList;
  29. //}}AFX_DATA
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CAddCodePoints)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(CAddCodePoints)
  40. virtual BOOL OnInitDialog();
  41. virtual void OnOK();
  42. afx_msg void OnTimer(UINT nIDEvent);
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };