VideoWin.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #if !defined(AFX_VIDEOWIN_H__3AB5C5F0_F77B_4736_9E9C_C5ECA7CF33C0__INCLUDED_)
  2. #define AFX_VIDEOWIN_H__3AB5C5F0_F77B_4736_9E9C_C5ECA7CF33C0__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // VideoWin.h : header file
  7. //
  8. #define WM_SHOW WM_USER+101
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CVideoWin window
  11. class CVideoWin : public CEdit
  12. {
  13. // Construction
  14. public:
  15. CVideoWin();
  16. // Attributes
  17. public:
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CVideoWin)
  23. //}}AFX_VIRTUAL
  24. // Implementation
  25. public:
  26. void DrawVect(UINT Channel, CHAR *Vect, ULONG Size);
  27. int CacRects(int numRects);
  28. void DrawTitle(int numBmps);
  29. void SelectRect(int i, CDC *dc);
  30. void StartVideoPreview(CDC *dc);
  31. virtual ~CVideoWin();
  32. // Generated message map functions
  33. protected:
  34. //{{AFX_MSG(CVideoWin)
  35. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  36. afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
  37. afx_msg void OnPaint();
  38. afx_msg void OnMove(int x, int y);
  39. afx_msg void OnMoving(UINT fwSide, LPRECT pRect);
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. /////////////////////////////////////////////////////////////////////////////
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_VIDEOWIN_H__3AB5C5F0_F77B_4736_9E9C_C5ECA7CF33C0__INCLUDED_)