00001 #if !defined(AFX_GOTOFRAMEDIALOG_H__005242D3_7415_419C_8F5C_85F686D955C4__INCLUDED_)
00002 #define AFX_GOTOFRAMEDIALOG_H__005242D3_7415_419C_8F5C_85F686D955C4__INCLUDED_
00003
00004 #if _MSC_VER >= 1000
00005 #pragma once
00006 #endif // _MSC_VER >= 1000
00007
00008
00009
00011
00012
00013 class CGotoFrameDialog : public CDialog
00014 {
00015
00016 public:
00017 void InitSlider(int nMin, int nPos, int nMax);
00018 CGotoFrameDialog(CWnd* pParent = NULL);
00019
00020
00021
00022 enum { IDD = IDD_GOTOFRAME };
00023 CEdit m_FrameEdit;
00024 CSliderCtrl m_FrameSlider;
00025 int m_nFrame;
00026
00027
00028
00029
00030
00031
00032 protected:
00033 virtual void DoDataExchange(CDataExchange* pDX);
00034
00035
00036
00037 protected:
00038
00039 int m_nMin, m_nMax;
00040
00041
00042 virtual BOOL OnInitDialog();
00043 afx_msg void OnUpdateFrame();
00044 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
00045
00046 DECLARE_MESSAGE_MAP()
00047 };
00048
00049
00050
00051
00052 #endif // !defined(AFX_GOTOFRAMEDIALOG_H__005242D3_7415_419C_8F5C_85F686D955C4__INCLUDED_)