home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************/
- /* */
- /* TurboCAD for Windows */
- /* Copyright (c) 1993 - 2001 */
- /* International Microcomputer Software, Inc. */
- /* (IMSI) */
- /* All rights reserved. */
- /* */
- /******************************************************************/
-
- #if !defined(AFX_VIEWWND_H__4B1AA264_851C_11D2_8BEA_00403338C504__INCLUDED_)
- #define AFX_VIEWWND_H__4B1AA264_851C_11D2_8BEA_00403338C504__INCLUDED_
-
- #include "StdAfx.h" // Added by ClassView
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ViewWnd.h : header file
- //
- #include "InsSymb.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CPreviewWnd window
- #define GF_OPENMODE 35
-
- class CPreviewWnd : public CWnd
- {
- // Construction
- public:
- CPreviewWnd(CInsSymb* pTool);
- CPreviewWnd();
-
- // Attributes
- public:
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPreviewWnd)
- public:
- virtual void OnFinalRelease();
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- long m_lDwg;
- Drawings* m_pDwgs;
- IApplication* m_pIApp;
- Views* m_pViewsCol;
-
- Graphics* m_pPreviewGrs;
- long m_lApp;
- CString m_selected;
- BOOL m_FirstStart;
- void ClearAll();
- void Clear();
- void RefreshList();
- BOOL DoPreview();
- BOOL CreatePreview();
- View* m_pPreviewView;
- IDrawing* m_pPreviewDrawing;
- long* m_hCurActDr;
- // get current active drawing
-
- virtual ~CPreviewWnd();
-
- // Generated message map functions
- protected:
- CInsSymb *m_pTool;
- APPDRAWINGNEWEX m_pfAppDwgNew;
- APPGETCURRENTAPP m_pfGetApp;
- GRAPHICFILEOPENEX m_pfFileOpen;
- //{{AFX_MSG(CViewWnd)
- afx_msg void OnPaint();
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- // Generated OLE dispatch map functions
- //{{AFX_DISPATCH(CPreviewWnd)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_DISPATCH
- DECLARE_DISPATCH_MAP()
- DECLARE_INTERFACE_MAP()
- };
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_VIEWWND_H__4B1AA264_851C_11D2_8BEA_00403338C504__INCLUDED_)
-