DlgOptItemPriority.h
上传用户:tianheyiqi
上传日期:2010-04-16
资源大小:282k
文件大小:2k
源码类别:

外挂编程

开发平台:

Visual C++

  1. #if !defined(AFX_DLGOPTITEMPRIORITY_H__6838498A_AEDC_43C9_A946_293E8134BE30__INCLUDED_)
  2. #define AFX_DLGOPTITEMPRIORITY_H__6838498A_AEDC_43C9_A946_293E8134BE30__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DlgOptItemPriority.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CDlgOptItemPriority dialog
  10. class CDlgOptItemPriority : public CDialog
  11. {
  12. private:
  13. void RefreshColors();
  14. // Construction
  15. public:
  16. CDlgOptItemPriority(CWnd* pParent = NULL);   // standard constructor
  17. static int CALLBACK SortData(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
  18. void SaveToFile();
  19. void FillItemList();
  20. // Dialog Data
  21. //{{AFX_DATA(CDlgOptItemPriority)
  22. enum { IDD = IDD_DLG_OPT_ITEMPRIORITY };
  23. CComboBox m_Type;
  24. CComboBox m_Choise;
  25. CColorListCtrl m_ItemList;
  26. CString m_ID;
  27. CString m_Name;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CDlgOptItemPriority)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. // Generated message map functions
  38. //{{AFX_MSG(CDlgOptItemPriority)
  39. virtual BOOL OnInitDialog();
  40. afx_msg void OnSelchangeChoise();
  41. virtual void OnOK();
  42. afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
  43. afx_msg void OnColumnclickList(NMHDR* pNMHDR, LRESULT* pResult);
  44. afx_msg void OnSelchangeItemType();
  45. afx_msg void OnChangeItemName();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_DLGOPTITEMPRIORITY_H__6838498A_AEDC_43C9_A946_293E8134BE30__INCLUDED_)