ActionDlg.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #if !defined(AFX_ACTIONDLG_H__A42BF8EC_51EA_445F_AED7_6B25965F67A1__INCLUDED_)
  2. #define AFX_ACTIONDLG_H__A42BF8EC_51EA_445F_AED7_6B25965F67A1__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ActionDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CActionDlg dialog
  10. class CActionDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. int GetActionTypeNo(CString strType);
  15. CActionDlg(CWnd* pParent = NULL); // standard constructor
  16. int m_nType;
  17. // Dialog Data
  18. //{{AFX_DATA(CActionDlg)
  19. enum { IDD = IDD_ACTION_DLG };
  20. CString m_strActionType;
  21. CString m_strActionValue;
  22. CString m_strVariant;
  23. CString m_strPicPath;
  24. //}}AFX_DATA
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CActionDlg)
  28. protected:
  29. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. protected:
  33. // Generated message map functions
  34. //{{AFX_MSG(CActionDlg)
  35. afx_msg void OnSelchangeActionType();
  36. virtual BOOL OnInitDialog();
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. public:
  40. afx_msg void OnBnClickedOk();
  41. afx_msg void OnCbnSelendokVariants();
  42. private:
  43. void ChangeCtrlInfo();
  44. CString m_arrayActionType[16];
  45. };
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_ACTIONDLG_H__A42BF8EC_51EA_445F_AED7_6B25965F67A1__INCLUDED_)