www.pudn.com > testproj.rar > dlgTest.h
#if !defined(AFX_DLGTEST_H__5AED2CA8_B2EF_4363_8D80_163B3E2EDFA8__INCLUDED_)
#define AFX_DLGTEST_H__5AED2CA8_B2EF_4363_8D80_163B3E2EDFA8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// dlgTest.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CdlgTest dialog
class CdlgTest : public CDialog
{
// Construction
public:
HGLRC m_rc;
bool SetWindowPixelFormat(HDC hDC);
bool CreateViewGLContext(HDC hDC);
CdlgTest(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CdlgTest)
enum { IDD = IDD_DIALOG1 };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CdlgTest)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CdlgTest)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnPaint();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGTEST_H__5AED2CA8_B2EF_4363_8D80_163B3E2EDFA8__INCLUDED_)