GME
13
|
#include <PartBrowserCtrl.h>
Public Types | |
enum | { dispidCycleAspect = 5L, dispidChangeAspect = 4L, dispidRePaint = 6L, dispidSetBgColor = 3L, dispidSetCurrentProject = 1L, dispidSetMetaModel = 2L, eventidAspectChanged = 1L } |
Public Member Functions | |
CPartBrowserCtrl () | |
virtual void | OnDraw (CDC *pdc, const CRect &rcBounds, const CRect &rcInvalid) |
virtual void | DoPropExchange (CPropExchange *pPX) |
virtual void | OnResetState () |
void | SendAspectChanged (LONG index) |
Protected Member Functions | |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
~CPartBrowserCtrl () | |
DECLARE_OLECREATE_EX (CPartBrowserCtrl) DECLARE_OLETYPELIB(CPartBrowserCtrl) DECLARE_PROPPAGEIDS(CPartBrowserCtrl) DECLARE_OLECTLTYPE(CPartBrowserCtrl) CPartBrowserDlg m_partBrowserDlg | |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | SetCurrentProject (LPUNKNOWN project) |
afx_msg void | SetMetaModel (LPUNKNOWN meta) |
afx_msg void | SetBgColor (OLE_COLOR oleBgColor) |
afx_msg void | ChangeAspect (LONG index) |
afx_msg void | CycleAspect (void) |
afx_msg void | RePaint (void) |
afx_msg void | AboutBox () |
void | OnMgaObjectEvent (IMgaObject *obj, unsigned long eventmask) |
void | OnMgaGlobalEvent (globalevent_enum event) |
void | FireAspectChanged (LONG index) |
STDMETHOD (GlobalEvent(globalevent_enum event)) | |
STDMETHOD (ObjectEvent(IMgaObject *obj, unsigned long eventmask, VARIANT v)) | |
void | PropagateMgaMessages () |
Protected Attributes | |
CMgaObjectEventList | m_MgaObjectEventList |
Definition at line 18 of file PartBrowserCtrl.h.
anonymous enum |
dispidCycleAspect | |
dispidChangeAspect | |
dispidRePaint | |
dispidSetBgColor | |
dispidSetCurrentProject | |
dispidSetMetaModel | |
eventidAspectChanged |
Definition at line 87 of file PartBrowserCtrl.h.
Definition at line 177 of file PartBrowserCtrl.cpp.
CPartBrowserCtrl::~CPartBrowserCtrl | ( | ) | [protected] |
Definition at line 187 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::AboutBox | ( | ) | [protected] |
Definition at line 261 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::ChangeAspect | ( | LONG | index | ) | [protected] |
Definition at line 324 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::CycleAspect | ( | void | ) | [protected] |
Definition at line 331 of file PartBrowserCtrl.cpp.
CPartBrowserCtrl::DECLARE_OLECREATE_EX | ( | CPartBrowserCtrl | ) | [protected] |
void CPartBrowserCtrl::DoPropExchange | ( | CPropExchange * | pPX | ) | [virtual] |
Definition at line 238 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::FireAspectChanged | ( | LONG | index | ) | [inline, protected] |
Definition at line 72 of file PartBrowserCtrl.h.
int CPartBrowserCtrl::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 271 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::OnDraw | ( | CDC * | pdc, |
const CRect & | rcBounds, | ||
const CRect & | rcInvalid | ||
) | [virtual] |
Definition at line 196 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::OnMgaGlobalEvent | ( | globalevent_enum | event | ) | [protected] |
Definition at line 411 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::OnMgaObjectEvent | ( | IMgaObject * | obj, |
unsigned long | eventmask | ||
) | [protected] |
Definition at line 345 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::OnResetState | ( | ) | [virtual] |
Definition at line 250 of file PartBrowserCtrl.cpp.
BOOL CPartBrowserCtrl::PreCreateWindow | ( | CREATESTRUCT & | cs | ) | [protected, virtual] |
Definition at line 282 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::PropagateMgaMessages | ( | ) | [protected] |
Definition at line 466 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::RePaint | ( | void | ) | [protected] |
Definition at line 338 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::SendAspectChanged | ( | LONG | index | ) |
Definition at line 461 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::SetBgColor | ( | OLE_COLOR | oleBgColor | ) | [protected] |
Definition at line 316 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::SetCurrentProject | ( | LPUNKNOWN | project | ) | [protected] |
Definition at line 288 of file PartBrowserCtrl.cpp.
void CPartBrowserCtrl::SetMetaModel | ( | LPUNKNOWN | meta | ) | [protected] |
Definition at line 302 of file PartBrowserCtrl.cpp.
CPartBrowserCtrl::STDMETHOD | ( | GlobalEvent(globalevent_enum event) | ) | [protected] |
CPartBrowserCtrl::STDMETHOD | ( | ObjectEvent(IMgaObject *obj, unsigned long eventmask, VARIANT v) | ) | [protected] |
Definition at line 102 of file PartBrowserCtrl.h.