00001 #pragma once 00002 00020 #include "DxBaseClass.h" 00021 00022 00023 // 00024 namespace jbxwl { 00025 00026 00028 // CDxVScrollView ビュー 00029 00030 class CDxVScrollView : public CDxBaseView //public CView 00031 { 00032 protected: 00033 CDxVScrollView(); 00034 DECLARE_DYNCREATE(CDxVScrollView) 00035 00036 // アトリビュート 00037 public: 00038 RECT dispRect; // メモリ上の領域 dispRect = renderRect + vsbpos 00039 RECT renderRect; // サーフェイスの有効領域 または 表示領域の大きさ 00040 RECT bufferRect; // バックバッファの描画領域 00041 int maxClientYSize; // クライアントの最大Yサイズ.メモリを有効利用するために使用. 00042 00043 // オペレーション 00044 public: 00045 virtual void InitObject(void); 00046 virtual void ExecRender(); 00047 virtual BOOL SetNewSurface(int ovsbpos); 00048 00049 // オーバーライド 00050 public: 00051 //{{AFX_VIRTUAL(CDxVScrollView) 00052 virtual void OnInitialUpdate(); 00053 //}}AFX_VIRTUAL 00054 00055 // インプリメンテーション 00056 protected: 00057 virtual ~CDxVScrollView(); 00058 #ifdef _DEBUG 00059 virtual void AssertValid() const; 00060 virtual void Dump(CDumpContext& dc) const; 00061 #endif 00062 00063 protected: 00064 //{{AFX_MSG(CDxVScrollView) 00065 afx_msg void OnSize(UINT nType, int cx, int cy); 00066 afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point); 00067 //}}AFX_MSG 00068 DECLARE_MESSAGE_MAP() 00069 }; 00070 00071 00073 00074 //{{AFX_INSERT_LOCATION}} 00075 00076 00077 } // namespace