#pragma once #include "Resource.h" #include "SlideStatic.h" class CSelectBlkDlg : public CDialog { public: CSelectBlkDlg(CWnd* pParent = NULL); // standard constructor enum { IDD = IDD_SELECT_BLK }; CScrollBar m_vsBar; CSlideStatic m_staticSlide; CString m_csTkName, m_csType; CPoint m_ptBase; public: virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support protected: BOOL InitVSBar(); virtual BOOL OnInitDialog(); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnRButtonDown(UINT nFlags, CPoint point); afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); DECLARE_MESSAGE_MAP() };