mycoorddlgbar.h
上传用户:cding2008
上传日期:2007-01-03
资源大小:1812k
文件大小:2k
- /////////////////////////////////////////////////////////////////////////////
- // CMyCoordDlgBar.h : header file; interface of the CMyDoc class
- //
- // ModelMagic 3D and 'glOOP' (OpenGL Object Oriented Programming library)
- // Copyright (c) Craig Fahrnbach 1997, 1999
- //
- // OpenGL is a registered trademark of Silicon Graphics
- //
- //
- // This program is provided for educational and personal use only and
- // is provided without guarantee or warrantee expressed or implied.
- //
- // Commercial use is strickly prohibited without written permission
- // from ImageWare Development.
- //
- /////////////////////////////////////////////////////////////////////////////
- #include "MyCoordPagePosition.h"
- #include "MyCoordPageRotation.h"
- #include "MyCoordPageTranslate.h"
- #include "MyCoordPageScale.h"
- #include "MyCoordPropSheet.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMyCoordDlgBar dialog
- class CMyCoordDlgBar : public CDialogBar
- {
- // Construction
- public:
- void UpdateDialogData();
- CMyCoordDlgBar();
- ~CMyCoordDlgBar();
- BOOL Create( CWnd* pParentWnd, UINT nIDTemplate, UINT nStyle,
- UINT nID, BOOL bChange);
- BOOL Create( CWnd* pParentWnd, LPCTSTR lpszTemplateName,
- UINT nStyle, UINT nID, BOOL bChange);
- // Operations
- public:
- // Dialog Data
- //{{AFX_DATA(CMyCoordDlgBar)
- enum { IDD = IDD_DIALOG_COORDINATE };
- //}}AFX_DATA
- // Attributes
- public:
- CMyCoordPropSheet m_CoordPropSheet;
- CSize m_sizeDocked;
- CSize m_sizeFloating;
- BOOL m_bChangeDockedSize; // Indicates whether to keep
- // a default size for docking
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyCoordDlgBar)
- //}}AFX_VIRTUAL
- virtual CSize CalcDynamicLayout( int nLength, DWORD dwMode );
-
- // Implementation
- private:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMyCoordDlgBar)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnDestroy();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- // User defined messages
- long OnChangeCoordPage(WPARAM wParam, LPARAM lParam);
- long OnUpdateCoordPage(WPARAM wParam, LPARAM lParam);
- };
-
- /////////////////////////////////////////////////////////////////////////////