MyCoordPropSheet.h
上传用户:cding2008
上传日期:2007-01-03
资源大小:1812k
文件大小:2k
- /////////////////////////////////////////////////////////////////////////////
- // MyCoordPropSheet.h : header file
- //
- // 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.
- //
- /////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////
- // CMyCoordPropSheet
- class CMyCoordPropSheet : public CPropertySheet
- {
- DECLARE_DYNAMIC(CMyCoordPropSheet)
- public:
- CMyCoordPropSheet(CWnd* pWndParent=NULL);
- CRect CalcTabCtrlPosn(int cx, int cy);
- // Attributes
- public:
- CMyCoordPagePosition m_CoordPagePosition;
- CMyCoordPageRotation m_CoordPageRotation;
- CMyCoordPageTranslate m_CoordPageTranslate;
- CMyCoordPageScale m_CoordPageScale;
- // Attributes
- protected:
- CButton* m_pButtonApply; // Apply button
- BOOL m_bPageOriginDirty; // Origin Page Data flag
- BOOL m_bPageRotationDirty; // Rotation Page Data flag
- BOOL m_bPageScaleDirty; // Scale Page Data flag
- BOOL m_bPageTranslateDirty; // Translate Page Data flag
- RECT m_TabRect;
- RECT m_PageRect;
- // Operations
- // Overrides
- // Message Handlers
- protected:
- //{{AFX_MSG(CMyCoordPropSheet)
- virtual BOOL OnInitDialog();
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnDestroy();
- afx_msg void OnApply();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- // User defined messages
- long OnPageChanged(WPARAM wParam, LPARAM lParam);
- };
- /////////////////////////////////////////////////////////////////////////////