ActiveXDlg.h
上传用户:z_mail1980
上传日期:2007-06-01
资源大小:647k
文件大小:2k
源码类别:

SNMP编程

开发平台:

Visual C++

  1. // ActiveXDlg.h : header file
  2. //
  3. //{{AFX_INCLUDES()
  4. #include "msflexgrid.h"
  5. //}}AFX_INCLUDES
  6. #if !defined(AFX_ACTIVEXDLG_H__9B0CC7BC_0FF9_4A78_92C3_FDEA7AA458F5__INCLUDED_)
  7. #define AFX_ACTIVEXDLG_H__9B0CC7BC_0FF9_4A78_92C3_FDEA7AA458F5__INCLUDED_
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CActiveXDlg dialog
  13. class CActiveXDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17. CActiveXDlg(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(CActiveXDlg)
  20. enum { IDD = IDD_ACTIVEX_DIALOG };
  21. CMSFlexGrid m_ctlFGrid;
  22. //}}AFX_DATA
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CActiveXDlg)
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. HICON m_hIcon;
  31. // Generated message map functions
  32. //{{AFX_MSG(CActiveXDlg)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  35. afx_msg void OnPaint();
  36. afx_msg HCURSOR OnQueryDragIcon();
  37. afx_msg void OnExit();
  38. afx_msg void OnMouseDownMsfgrid(short Button, short Shift, long x, long y);
  39. afx_msg void OnMouseUpMsfgrid(short Button, short Shift, long x, long y);
  40. DECLARE_EVENTSINK_MAP()
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. private:
  44. int m_iMouseCol;
  45. void DoSort();
  46. CString RandomStringValue(int m_iColumn);
  47. int GenID(int m_iRow,int m_iCol);
  48. void LoadData();
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_ACTIVEXDLG_H__9B0CC7BC_0FF9_4A78_92C3_FDEA7AA458F5__INCLUDED_)