home *** CD-ROM | disk | FTP | other *** search
- // ballview.h : header file
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CBallView form view
-
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
-
- class CBallView : public CFormView
- {
- DECLARE_DYNCREATE(CBallView)
- protected:
- CBallView(); // protected constructor used by dynamic creation
-
-
- //////////////////////
- // MY CODE STARTS HERE
- //////////////////////
-
- virtual void OnInitialUpdate();
-
- ////////////////////
- // MY CODE ENDS HERE
- ////////////////////
-
- // Form Data
- public:
- //{{AFX_DATA(CBallView)
- enum { IDD = IDD_DIALOG1 };
- BOOL m_AutoRepeat;
- //}}AFX_DATA
-
- // Attributes
- public:
-
-
- ///////////////////////
- // MY CODE STARTS HERE
- //////////////////////
-
- // The current frame number.
- int m_CurrentFrame;
-
- // An array for the 11 bitmaps.
- CBitmap* m_pB[11];
-
- ////////////////////
- // MY CODE ENDS HERE
- ////////////////////
-
-
- // Operations
- public:
-
- //////////////////////
- // MY CODE STARTS HERE
- //////////////////////
-
- virtual void OnDraw(CDC* pDC);
-
- ////////////////////
- // MY CODE ENDS HERE
- ////////////////////
-
- // Implementation
- protected:
- virtual ~CBallView();
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- // Generated message map functions
- //{{AFX_MSG(CBallView)
- afx_msg void OnStartButton();
- afx_msg void OnTimer(UINT nIDEvent);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- /////////////////////////////////////////////////////////////////////////////
-