01BIM社区

 找回密码
 立即注册

扫一扫,访问微社区

查看: 1464|回复: 0

MFC应用框架文档视图类对比表

[复制链接]

156

主题

647

帖子

2540

积分

金牌会员

Rank: 6Rank: 6

积分
2540
发表于 2015-10-30 13:36:08 | 显示全部楼层 |阅读模式
本帖最后由 tzbm123456 于 2015-10-30 14:04 编辑

 
CSTLViewerApp

CMainFrame
变量

 
public:


CTabSheetDockBar
m_LeftDockBar;
 
CMessageViewDockBar
m_OutputDockBar;
 
protected:


CStatusBar
m_wndStatusBar;
 
CToolBar
m_wndToolBar;
 
CToolBar
m_wndDisplayBar;
函数

 
public:

protected:

CSTLViewerApp();
CMainFrame();
 
virtual  BOOL
InitInstance();

DECLARE_DYNCREATE(CMainFrame)
 
afx_msg  void
OnAppAbout();
public:


DECLARE_MESSAGE_MAP()
virtual  BOOL
PreCreateWindow(CREATESTRUCT&  cs);
 
virtual
~CMainFrame();
 
protected:



DECLARE_MESSAGE_MAP()
 
void
DockControlBarLeftOf(CToolBar*  Bar,CToolBar* LeftOf);
 
CSTLViewerDoc

CSTLViewerView
变量

 
public:


CPart
m_Part;

函数

 
protected:

protected:

CSTLViewerDoc();
CSTLViewerView();
 
DECLARE_DYNCREATE(CSTLViewerDoc)
DECLARE_DYNCREATE(CSTLViewerView)
 
public:

public:
virtual  BOOL
OnNewDocument();
CSTLViewerDoc*
GetDocument();
 
virtual  void
Serialize(CArchive&  ar);
virtual  void
RenderScene(COpenGLDC*  pDC);
 
virtual  void
OnCloseDocument();
virtual  BOOL
PreCreateWindow(CREATESTRUCT&  cs);
 
virtual
~CSTLViewerDoc();
virtual
~CSTLViewerView();
 
protected:

afx_msg  int
OnCreate(LPCREATESTRUCT  lpCreateStruct);
 
afx_msg  void
OnStlFilein();
afx_msg  void
OnMButtonDown(UINT  nFlags, CPoint point);
 
afx_msg  void
OnDefFilein();
afx_msg  BOOL
OnMouseWheel(UINT  nFlags, short zDelta, CPoint pt);
 
DECLARE_MESSAGE_MAP()
protected:


afx_msg  void
OnViewBack();
 
afx_msg  void
OnViewBottom();
 
afx_msg  void
OnViewFront();
 
afx_msg  void
OnViewLeft();
 
afx_msg  void
OnViewRight();
 
afx_msg  void
OnViewTop();
 
afx_msg  void
OnViewSWIsometric();
 
afx_msg  void
OnViewSEIsometric();
 
afx_msg  void
OnViewNEIsometric();
 
afx_msg  void
OnViewNWIsometric();
 
afx_msg  void
OnViewZoomall();
 
afx_msg  void
OnViewZoomin();
 
afx_msg  void
OnViewZoomout();
 
afx_msg  void
OnViewShade();
 
afx_msg  void
OnLButtonDown(UINT  nFlags, CPoint point);
 
afx_msg  void
OnContextMenu(CWnd*  pWnd, CPoint point);
 

DECLARE_MESSAGE_MAP()

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|01BIM社区 - 最专业的BIM技术交流平台 ( 渝ICP备15000873号 )

GMT+8, 2024-5-19 18:57 , Processed in 0.361848 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表