VideoCtrlDlg.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #if !defined(AFX_VIDEOCTRLDLG_H__C1F90363_064F_4E3C_84E7_545855BA4E4A__INCLUDED_)
  2. #define AFX_VIDEOCTRLDLG_H__C1F90363_064F_4E3C_84E7_545855BA4E4A__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // VideoCtrlDlg.h : header file
  7. //
  8. #include "BtnST.h"
  9. #define WM_VIDEOCTRL_OK WM_USER + 201
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CVideoCtrlDlg dialog
  12. class CVideoCtrlDlg : public CDialog
  13. {
  14. // Construction
  15. public:
  16. CWnd* m_pParent;
  17. CVideoCtrlDlg(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(CVideoCtrlDlg)
  20. enum { IDD = IDD_VIDEOCTRL };
  21. CButtonST m_ctrlVCS;
  22. CButtonST m_ctrlVCH;
  23. CButtonST m_ctrlVCC;
  24. CButtonST m_ctrlVCB;
  25. CButton m_ctrlVCReset;
  26. CSliderCtrl m_SliderH;
  27. CSliderCtrl m_SliderS;
  28. CSliderCtrl m_SliderC;
  29. CSliderCtrl m_SliderB;
  30. //}}AFX_DATA
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CVideoCtrlDlg)
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. protected:
  39. HICON m_hIcon;
  40. // Generated message map functions
  41. //{{AFX_MSG(CVideoCtrlDlg)
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnVcReset();
  44. afx_msg void OnClose();
  45. afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_VIDEOCTRLDLG_H__C1F90363_064F_4E3C_84E7_545855BA4E4A__INCLUDED_)