GME  13
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions
CGMEViewDlg Class Reference

#include <GMEViewDlg.h>

Inheritance diagram for CGMEViewDlg:
Inheritance graph
[legend]
Collaboration diagram for CGMEViewDlg:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { IDD = IDD_GMEVIEW_DIALOG }

Public Member Functions

 CGMEViewDlg ()
virtual ~CGMEViewDlg ()
void SetCurrentProject (CComPtr< IMgaProject > project)
void SetMetaModel (CComPtr< IMgaMetaModel > meta)
void SetModel (CComPtr< IMgaModel > model)
void ChangeAspect (int aspect)
void Invalidate (void)
void SetScroll (void)
BOOL DoDrop (eDragOperation doDragOp, COleDataObject *pDataObject, CPoint point)

Public Attributes

CComPtr< IMgaProjectmgaProject
CComPtr< IMgaMetaModelmgaMetaModel
CComPtr< IMgaModelmgaModel
int currentAspect
CString strAspect
CString regPath
COLORREF canvasBgndColor
CString defZoomLev
int m_zoomVal
CRect modelExtent
bool modelExtentCalculated
CFont txtMetricFont
std::vector< CTestWindow * > testWindows
std::vector< CTestWindow * > displayedWindows
bool inWindowDragging
CPoint lastDragPoint
CGMEViewDropTarget m_DropTarget

Static Public Attributes

static int instanceCount = 0
static bool offScreenCreated = false
static CDC * offScreen
static CBitmap * ofsbmp
static CString strTestWndClass

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
void CreateOffScreen (CDC *dc)
int RangedRand (int range_min, int range_max)
void CreateTestWindows (void)
void DestroyTestWindows (void)
std::vector< CTestWindow * > GetWindowsInRect (const CRect &rect)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnClose ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnMove (int x, int y)
afx_msg void OnWindowPosChanged (WINDOWPOS FAR *lpwndpos)
afx_msg void OnDraw (CDC *pDC)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnSelchangeAspectTab (NMHDR *pNMHDR, LRESULT *pResult)
void SendAspectChange (long index)
void SendZoomChange (long index)
void SendWriteStatusZoom (long zoomVal)

Detailed Description

Definition at line 24 of file GMEViewDlg.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
IDD 

Definition at line 36 of file GMEViewDlg.h.


Constructor & Destructor Documentation

Definition at line 49 of file GMEViewDlg.cpp.

Definition at line 74 of file GMEViewDlg.cpp.


Member Function Documentation

void CGMEViewDlg::ChangeAspect ( int  aspect)

Definition at line 164 of file GMEViewDlg.cpp.

void CGMEViewDlg::CreateOffScreen ( CDC *  dc) [protected]

Definition at line 185 of file GMEViewDlg.cpp.

void CGMEViewDlg::CreateTestWindows ( void  ) [protected]

Definition at line 206 of file GMEViewDlg.cpp.

void CGMEViewDlg::DestroyTestWindows ( void  ) [protected]

Definition at line 227 of file GMEViewDlg.cpp.

void CGMEViewDlg::DoDataExchange ( CDataExchange *  pDX) [protected, virtual]

Definition at line 96 of file GMEViewDlg.cpp.

BOOL CGMEViewDlg::DoDrop ( eDragOperation  doDragOp,
COleDataObject *  pDataObject,
CPoint  point 
)

Definition at line 612 of file GMEViewDlg.cpp.

std::vector< CTestWindow * > CGMEViewDlg::GetWindowsInRect ( const CRect &  rect) [protected]

Definition at line 236 of file GMEViewDlg.cpp.

void CGMEViewDlg::Invalidate ( void  )

Definition at line 170 of file GMEViewDlg.cpp.

void CGMEViewDlg::OnClose ( ) [protected]

Definition at line 277 of file GMEViewDlg.cpp.

int CGMEViewDlg::OnCreate ( LPCREATESTRUCT  lpCreateStruct) [protected]

Definition at line 266 of file GMEViewDlg.cpp.

void CGMEViewDlg::OnDraw ( CDC *  pDC) [protected, virtual]

Implements CScrollZoomView.

Definition at line 322 of file GMEViewDlg.cpp.

BOOL CGMEViewDlg::OnEraseBkgnd ( CDC *  pDC) [protected]

Definition at line 499 of file GMEViewDlg.cpp.

void CGMEViewDlg::OnLButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 504 of file GMEViewDlg.cpp.

void CGMEViewDlg::OnLButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 566 of file GMEViewDlg.cpp.

void CGMEViewDlg::OnMouseMove ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 551 of file GMEViewDlg.cpp.

void CGMEViewDlg::OnMove ( int  x,
int  y 
) [protected]

Definition at line 294 of file GMEViewDlg.cpp.

void CGMEViewDlg::OnSelchangeAspectTab ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

Definition at line 574 of file GMEViewDlg.cpp.

void CGMEViewDlg::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

Reimplemented from CScrollZoomView.

Definition at line 287 of file GMEViewDlg.cpp.

void CGMEViewDlg::OnWindowPosChanged ( WINDOWPOS FAR lpwndpos) [protected]

Definition at line 301 of file GMEViewDlg.cpp.

BOOL CGMEViewDlg::PreCreateWindow ( CREATESTRUCT &  cs) [protected, virtual]

Definition at line 104 of file GMEViewDlg.cpp.

int CGMEViewDlg::RangedRand ( int  range_min,
int  range_max 
) [protected]

Definition at line 200 of file GMEViewDlg.cpp.

void CGMEViewDlg::SendAspectChange ( long  index) [protected]

Definition at line 585 of file GMEViewDlg.cpp.

void CGMEViewDlg::SendWriteStatusZoom ( long  zoomVal) [protected]

Definition at line 603 of file GMEViewDlg.cpp.

void CGMEViewDlg::SendZoomChange ( long  index) [protected]

Definition at line 594 of file GMEViewDlg.cpp.

void CGMEViewDlg::SetCurrentProject ( CComPtr< IMgaProject project)

Definition at line 112 of file GMEViewDlg.cpp.

void CGMEViewDlg::SetMetaModel ( CComPtr< IMgaMetaModel meta)

Definition at line 120 of file GMEViewDlg.cpp.

void CGMEViewDlg::SetModel ( CComPtr< IMgaModel model)

Definition at line 130 of file GMEViewDlg.cpp.

void CGMEViewDlg::SetScroll ( void  )

Definition at line 175 of file GMEViewDlg.cpp.


Member Data Documentation

Definition at line 46 of file GMEViewDlg.h.

Definition at line 42 of file GMEViewDlg.h.

Definition at line 48 of file GMEViewDlg.h.

Definition at line 62 of file GMEViewDlg.h.

Definition at line 53 of file GMEViewDlg.h.

Definition at line 63 of file GMEViewDlg.h.

Definition at line 64 of file GMEViewDlg.h.

Definition at line 111 of file GMEViewDlg.h.

Definition at line 49 of file GMEViewDlg.h.

Definition at line 40 of file GMEViewDlg.h.

Definition at line 41 of file GMEViewDlg.h.

Definition at line 39 of file GMEViewDlg.h.

Definition at line 50 of file GMEViewDlg.h.

Definition at line 51 of file GMEViewDlg.h.

CDC * CGMEViewDlg::offScreen [static]

Definition at line 55 of file GMEViewDlg.h.

bool CGMEViewDlg::offScreenCreated = false [static]

Definition at line 54 of file GMEViewDlg.h.

CBitmap * CGMEViewDlg::ofsbmp [static]

Definition at line 56 of file GMEViewDlg.h.

Definition at line 44 of file GMEViewDlg.h.

Definition at line 43 of file GMEViewDlg.h.

CString CGMEViewDlg::strTestWndClass [static]

Definition at line 60 of file GMEViewDlg.h.

Definition at line 61 of file GMEViewDlg.h.

Definition at line 58 of file GMEViewDlg.h.


The documentation for this class was generated from the following files: