23class CGlBaseView :
public CExView
29 PIXELFORMATDESCRIPTOR glParam;
33 virtual ~CGlBaseView();
36 virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
39 virtual void OnInitialUpdate(
void) {}
40 virtual void SetState(
void) {}
41 virtual void ExecRender(
void) {}
44 virtual void InitObject(
void) { SetState();}
45 virtual void SetParameter(PIXELFORMATDESCRIPTOR* pfd);
47 POINT GetWindowDisplaySize(POINT pt);
48 BOOL InitDevice(
int xsize=0,
int ysize=0, CWnd* cwnd=NULL);
50 virtual int GetMouseButton(
void);
53 afx_msg
void OnSize(UINT nType,
int cx,
int cy);
54 afx_msg
int OnCreate(LPCREATESTRUCT lpCreateStruct);
55 afx_msg
void OnDestroy();
56 virtual
void OnDraw(CDC* pDC) { CExView::OnDraw(pDC);}