www.pudn.com > opengl_pick_sample.rar > stretchdlg.h
#if !defined(AFX_STRETCHDLG_H__9D21FD42_EB80_11D6_954D_08006912EAE7__INCLUDED_)
#define AFX_STRETCHDLG_H__9D21FD42_EB80_11D6_954D_08006912EAE7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// stretchdlg.h : header file
//
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// StretchDLG dialog
class StretchDLG : public CDialog
{
// Construction
public:
StretchDLG(CWnd* pParent = NULL); // standard constructor
void SetSliderPos(int pos);
void ResetSliderPos(void);
// Dialog Data
//{{AFX_DATA(StretchDLG)
enum { IDD = IDD_SCALE_DLG };
CSliderCtrl m_slider;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(StretchDLG)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(StretchDLG)
virtual BOOL OnInitDialog();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STRETCHDLG_H__9D21FD42_EB80_11D6_954D_08006912EAE7__INCLUDED_)