CloseStrategyDlg.h
上传用户:zhanglf88
上传日期:2013-11-19
资源大小:6036k
文件大小:2k
源码类别:

金融证券系统

开发平台:

Visual C++

  1. #if !defined(AFX_CLOSESTRATEGY_H__0AD8D512_42BC_4FD8_B206_C4440194E97B__INCLUDED_)
  2. #define AFX_CLOSESTRATEGY_H__0AD8D512_42BC_4FD8_B206_C4440194E97B__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // CloseStrategy.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CCloseStrategyDlg dialog
  10. /***
  11. 关闭策略对话框,选择要关闭的策略
  12. */
  13. class CCloseStrategyDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17. CCloseStrategyDlg(CWnd* pParent = NULL);   // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(CCloseStrategyDlg)
  20. enum { IDD = IDD_CLOSESTRATEGYDLG };
  21. CButton m_btnCloseAll;
  22. CButton m_btnCancel;
  23. CButton m_btnOK;
  24. CListCtrl m_listStrategy;
  25. //}}AFX_DATA
  26. public:
  27. // operate
  28. POSITION GetFirstCloseStrategyPosition( );
  29. CStrategy * GetNextCloseStrategy( POSITION &rPos );
  30. protected:
  31. CPtrList m_listCloseStrategy;          // CStrategy to close
  32. CImageList m_SmallImageList;
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CCloseStrategyDlg)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CCloseStrategyDlg)
  43. virtual BOOL OnInitDialog();
  44. virtual void OnOK();
  45. afx_msg void OnCloseall();
  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_CLOSESTRATEGY_H__0AD8D512_42BC_4FD8_B206_C4440194E97B__INCLUDED_)