Files
TestEGr/TestEGrView.h
T
2014-02-06 16:45:24 +00:00

26 lines
580 B
C++

#pragma once
#include <windows.h>
//----------------------------------------------------------------------------
class TestEgrView : public CWnd
{
public :
TestEgrView( void) ;
~TestEgrView( void) ;
bool Create( CWnd* pParent, int nID) ;
HDC GetSafeHdc( void)
{ return ( ( m_pDC != nullptr) ? m_pDC->GetSafeHdc() : nullptr) ; }
protected :
afx_msg int OnCreate( LPCREATESTRUCT lpCreateStruct) ;
afx_msg void OnPaint( void) ;
private :
CClientDC* m_pDC ;
DECLARE_MESSAGE_MAP()
} ;