MainWnd.h
Upload User: qianbin
Upload Date: 2009-10-23
Package Size: 617k
Code Size: 2k
Category:

Video Capture

Development Platform:

Visual C++

  1. #if !defined(AFX_MAINWND_H__A0795081_8020_11D3_9F3D_6C77__INCLUDED_)
  2. #define AFX_MAINWND_H__A0795081_8020_11D3_9F3D_6C77__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // MainWnd.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // MainWnd window
  10. #define LM_TRAY_TIP_MESSAGE            28000
  11. class MainWnd : public StandardWnd
  12. {
  13. private:
  14. HACCEL m_accelerators_key;
  15. CString m_tray_tip;
  16. // Construction
  17. public:
  18. MainWnd();
  19. void TrayStateSetup(int parm_command, const char *parm_tip_string);
  20. void OnTrayLeftButton();
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(MainWnd)
  24. public:
  25. virtual BOOL PreTranslateMessage(MSG* pMsg);
  26. protected:
  27. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. public:
  31. virtual ~MainWnd();
  32. // Generated message map functions
  33. protected:
  34. //{{AFX_MSG(MainWnd)
  35. afx_msg void OnPaint();
  36. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  37. afx_msg void OnDestroy();
  38. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  39. //}}AFX_MSG
  40. afx_msg LRESULT OnTrayMessage(WPARAM wParam,LPARAM lParam);
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. /////////////////////////////////////////////////////////////////////////////
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_MAINWND_H__A0795081_8020_11D3_9F3D_6C77__INCLUDED_)