AddType.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #if !defined(AFX_ADDTYPE_H__783BC68A_076E_41CD_8F88_D8169D90BA55__INCLUDED_)
  2. #define AFX_ADDTYPE_H__783BC68A_076E_41CD_8F88_D8169D90BA55__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // AddType.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CAddType dialog
  10. class CAddType : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CAddType(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CAddType)
  17. enum { IDD = IDD_ADD_TYPE };
  18. CListBox m_lbDefaultTypes;
  19. CString m_eCustomType;
  20. //}}AFX_DATA
  21. CStringArray m_csSelectedTypes;
  22. // Overrides
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CAddType)
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. void AddCommonTypes();
  29. void AddCurrentClipboardTypes();
  30. // Implementation
  31. protected:
  32. // Generated message map functions
  33. //{{AFX_MSG(CAddType)
  34. virtual BOOL OnInitDialog();
  35. //}}AFX_MSG
  36. DECLARE_MESSAGE_MAP()
  37. public:
  38. afx_msg void OnBnClickedRadioPrimaryTypes();
  39. afx_msg void OnBnClickedRadioCurrentTypes();
  40. afx_msg void OnBnClickedRadioCustomType();
  41. afx_msg void OnBnClickedAdd();
  42. afx_msg void OnLbnDblclkList();
  43. };
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_ADDTYPE_H__783BC68A_076E_41CD_8F88_D8169D90BA55__INCLUDED_)