00001 #pragma once
00002 #include "afxcmn.h"
00003
00004
00005
00006
00007 class CBarDialog : public CDialogBar
00008 {
00009 DECLARE_DYNAMIC(CBarDialog)
00010
00011 public:
00012 CBarDialog();
00013 virtual ~CBarDialog();
00014
00015
00016 enum { IDD = IDD_DIALOGBAR };
00017
00018
00019
00020 protected:
00021 virtual void DoDataExchange(CDataExchange* pDX);
00022 void SetSunTime();
00023
00024 DECLARE_MESSAGE_MAP()
00025 public:
00026 CSliderCtrl m_SliderTime;
00027 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
00028 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00029 afx_msg void OnSize(UINT nType, int cx, int cy);
00030 };