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

金融证券系统

开发平台:

Visual C++

  1. #if !defined(AFX_SELECTGRPDLG_H__B131BD74_AEE9_4FA4_A109_ACE86F963FB1__INCLUDED_)
  2. #define AFX_SELECTGRPDLG_H__B131BD74_AEE9_4FA4_A109_ACE86F963FB1__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SelectGrpDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CSelectGrpDlg dialog
  10. /***
  11. 选择板块、分组、策略对话框
  12. */
  13. class CSelectGrpDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17. CSelectGrpDlg(CWnd* pParent = NULL);   // standard constructor
  18. enum mode {
  19. modeDomain = 0x01,
  20. modeGroup = 0x02,
  21. modeStrategy = 0x03,
  22. };
  23. void SetMode( int nMode = modeDomain );
  24. CString GetSelectedName( );
  25. CStrategy * GetSelectedStrategy( );
  26. // Dialog Data
  27. //{{AFX_DATA(CSelectGrpDlg)
  28. enum { IDD = IDD_SELECTGRP };
  29. CButton m_btnCancel;
  30. CButton m_btnOK;
  31. CStatic m_staticInfo;
  32. CButton m_btnAddGroup;
  33. CListBox m_listGroup;
  34. //}}AFX_DATA
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CSelectGrpDlg)
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. CString m_strSelectedName;
  44. CStrategy * m_pSelectedStrategy;
  45. int m_nMode;
  46. // Generated message map functions
  47. //{{AFX_MSG(CSelectGrpDlg)
  48. virtual BOOL OnInitDialog();
  49. virtual void OnOK();
  50. virtual void OnCancel();
  51. afx_msg void OnDblclkListgroup();
  52. afx_msg void OnAddgroup();
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_SELECTGRPDLG_H__B131BD74_AEE9_4FA4_A109_ACE86F963FB1__INCLUDED_)