WorkSpace.h
上传用户:yatsl7111
上传日期:2007-01-08
资源大小:1433k
文件大小:2k
源码类别:

图形图象

开发平台:

Visual C++

  1. #if !defined(AFX_WORKSPACE_H__1192FFF5_DAB1_11D4_8853_84ABD091D12C__INCLUDED_)
  2. #define AFX_WORKSPACE_H__1192FFF5_DAB1_11D4_8853_84ABD091D12C__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // WorkSpace.h : header file
  7. //
  8. #define ISEE_EXPLORER_WS_FIRST 1400
  9. #define ISEE_EXPLORER_WS_WNDID (ISEE_EXPLORER_WS_FIRST+1)
  10. #define IMN_CHANGING_IMAGE (WM_USER+ISEE_EXPLORER_WS_FIRST+1)
  11. #define IMN_CHANGING_FOCI (WM_USER+ISEE_EXPLORER_WS_FIRST+2)
  12. #define IMN_CHANGING_DEM (WM_USER+ISEE_EXPLORER_WS_FIRST+3)
  13. #define ISEE_EXPLORER_WS_LAST 1500
  14. class CISeeExplorerView;
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CWorkSpace window
  17. class CWorkSpace : public CWnd
  18. {
  19. // Construction
  20. public:
  21. CWorkSpace();
  22. // Attributes
  23. public:
  24. HDRAWDIB m_hDrawDib;
  25. CString m_WSClassName;
  26. CBrush m_brGround;
  27. HCURSOR m_auto;
  28. HCURSOR m_hand_free, m_hand_move;
  29. CReturnReceipt *m_pImage;
  30. CRect m_imgrect;
  31. CRect m_imgdisprect;
  32. CRect m_wndrect;
  33. BOOL m_bmove;
  34. CPoint m_cursor;
  35. // Operations 
  36. public:
  37. // Overrides
  38. // ClassWizard generated virtual function overrides
  39. //{{AFX_VIRTUAL(CWorkSpace)
  40. protected:
  41. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. public:
  45. afx_msg LONG OnChangFoci(UINT parm1, LONG parm2);
  46. afx_msg LONG OnChangImage(UINT parm1, LONG parm2);
  47. CReturnReceipt * GetCurCRRt(void);
  48. virtual ~CWorkSpace();
  49. // Generated message map functions
  50. protected:
  51. //{{AFX_MSG(CWorkSpace)
  52. afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
  53. afx_msg void OnPaint();
  54. afx_msg void OnSize(UINT nType, int cx, int cy);
  55. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  56. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  57. afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
  58. afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. /////////////////////////////////////////////////////////////////////////////
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_WORKSPACE_H__1192FFF5_DAB1_11D4_8853_84ABD091D12C__INCLUDED_)