00001 #pragma once
00002
00011 #include "DxBaseClass.h"
00012
00013
00014
00015 namespace jbxwl {
00016
00017
00018
00019
00020 class CDxDirectView : public CDxBaseView
00021 {
00022 DECLARE_DYNCREATE(CDxDirectView)
00023
00024 protected:
00025 CDxDirectView();
00026 virtual ~CDxDirectView();
00027
00028 public:
00029 RECT renderRect;
00030
00031
00032 public:
00033
00034 virtual void InitObject(void);
00035 virtual void ExecRender(void);
00036 virtual BOOL SetNewSurface(int ovsbpos=0);
00037
00038 virtual void OnDraw(CDC* pDC);
00039
00040
00041 public:
00042
00043 virtual void OnInitialUpdate();
00044
00045
00046 #ifdef _DEBUG
00047 virtual void AssertValid() const;
00048 #ifndef _WIN32_WCE
00049 virtual void Dump(CDumpContext& dc) const;
00050 #endif
00051 #endif
00052
00053 protected:
00054
00055 DECLARE_MESSAGE_MAP()
00056 };
00057
00058
00059
00060 }