Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

MainFrm.h

00001 // MainFrm.h : interface of the CMainFrame class
00002 //
00004 
00005 #if !defined(AFX_MAINFRM_H__8DBD199F_8030_4EE9_834D_57CFD8DE86C0__INCLUDED_)
00006 #define AFX_MAINFRM_H__8DBD199F_8030_4EE9_834D_57CFD8DE86C0__INCLUDED_
00007 
00008 #if _MSC_VER >= 1000
00009 #pragma once
00010 #endif // _MSC_VER >= 1000
00011 
00012 // Array for the toolbar buttons
00013 
00014 #if (_WIN32_WCE < 201)
00015 static TBBUTTON g_arCBButtons[] = {
00016         { 0,    ID_FILE_NEW,    TBSTATE_ENABLED, TBSTYLE_BUTTON,        0, 0, 0,  0},
00017         { 1,    ID_FILE_OPEN,   TBSTATE_ENABLED, TBSTYLE_BUTTON,        0, 0, 0,  1},
00018         { 2,    ID_FILE_SAVE,   TBSTATE_ENABLED, TBSTYLE_BUTTON,        0, 0, 0,  2},
00019         
00020         { 0,    0,                              TBSTATE_ENABLED, TBSTYLE_SEP,           0, 0, 0, -1},
00021 
00022         { 3,    ID_TOOL_DRAW,   TBSTATE_ENABLED, TBSTYLE_BUTTON,        0, 0, 0,  3},
00023         { 4,    ID_TOOL_ARROW,  TBSTATE_ENABLED, TBSTYLE_BUTTON,        0, 0, 0,  4},
00024         
00025         { 0,    0,                              TBSTATE_ENABLED, TBSTYLE_SEP,           0, 0, 0, -1},
00026         
00027         { 5,    ID_FRAME_PREVIOUS,      TBSTATE_ENABLED, TBSTYLE_BUTTON,        0, 0, 0,  5},
00028         { 6,    ID_FRAME_NEXT,  TBSTATE_ENABLED, TBSTYLE_BUTTON,        0, 0, 0,  6},
00029         { 7,    ID_ANIMATE,     TBSTATE_ENABLED, TBSTYLE_CHECK, 0, 0, 0,  7},
00030 
00031         /*{ 3,    ID_EDIT_CUT,  TBSTATE_ENABLED, TBSTYLE_BUTTON,        0, 0, 0,  3},
00032         { 4,    ID_EDIT_COPY,   TBSTATE_ENABLED, TBSTYLE_BUTTON,        0, 0, 0,  4},
00033         { 5,    ID_EDIT_PASTE,  TBSTATE_ENABLED, TBSTYLE_BUTTON,        0, 0, 0,  5}*/
00034 };
00035 #endif
00036 
00037 #if defined(_WIN32_WCE_PSPC) && (_WIN32_WCE >= 212)
00038 #define NUM_TOOL_TIPS 8
00039 #endif
00040 
00041 
00042 
00043 class CMainFrame : public CFrameWnd
00044 {
00045 protected: // create from serialization only
00046         CMainFrame();
00047         DECLARE_DYNCREATE(CMainFrame)
00048 
00049 // Attributes
00050 public:
00051 
00052 // Operations
00053 public:
00054 
00055 // Overrides
00056         // ClassWizard generated virtual function overrides
00057         //{{AFX_VIRTUAL(CMainFrame)
00058         virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00059         //}}AFX_VIRTUAL
00060 
00061 // Implementation
00062 public:
00063         virtual ~CMainFrame();
00064 #ifdef _DEBUG
00065         virtual void AssertValid() const;
00066         virtual void Dump(CDumpContext& dc) const;
00067 #endif
00068 
00069 protected:  // control bar embedded members
00070         CCeCommandBar   m_wndCommandBar;
00071 
00072 
00073 // Generated message map functions
00074 protected:
00075         //{{AFX_MSG(CMainFrame)
00076         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00077         afx_msg void OnCreateDocList(DLNHDR* pNotifyStruct, LRESULT* result);
00078         afx_msg LPTSTR MakeString(UINT stringID);
00079         afx_msg void OnDestroy();
00080         afx_msg void OnUpdateToolArrow(CCmdUI* pCmdUI);
00081         afx_msg void OnUpdateToolDraw(CCmdUI* pCmdUI);
00082         afx_msg void OnToolArrow();
00083         afx_msg void OnToolDraw();
00084         afx_msg void OnAnimate();
00085         afx_msg void OnUpdateAnimate(CCmdUI* pCmdUI);
00086         afx_msg void OnFramePrevious();
00087         afx_msg void OnFrameNext();
00088         //}}AFX_MSG
00089         DECLARE_MESSAGE_MAP()
00090 
00091         LPTSTR m_ToolTipsTable[NUM_TOOL_TIPS]; 
00092 };
00093 
00095 
00096 //{{AFX_INSERT_LOCATION}}
00097 // Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
00098 
00099 #endif // !defined(AFX_MAINFRM_H__8DBD199F_8030_4EE9_834D_57CFD8DE86C0__INCLUDED_)

Generated at Wed Aug 29 19:58:55 2001 for Pocket Animator by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001