ImageVerifierCode 换一换
格式:DOCX , 页数:32 ,大小:119.53KB ,
资源ID:15686443      下载积分:12 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/15686443.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(2DotNet平台技术实验报告3Word文档下载推荐.docx)为本站会员(b****5)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

2DotNet平台技术实验报告3Word文档下载推荐.docx

1、 protected: / 仅从序列化创建 CMainFrame(); DECLARE_DYNCREATE(CMainFrame)/ 特性public:/ 操作/ 重写 virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL);/ 实现 vi

2、rtual CMainFrame();#ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const;#endif / 控件条嵌入成员 CMFCMenuBar m_wndMenuBar; CMFCToolBar m_wndToolBar; CMFCStatusBar m_wndStatusBar; CMFCToolBarImages m_UserImages;/ 生成的消息映射函数 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruc

3、t); afx_msg void OnViewCustomize();(续) afx_msg LRESULT OnToolbarCreateNew(WPARAM wp, LPARAM lp); DECLARE_MESSAGE_MAP();/ MyThread.h : MyThread 应用程序的主头文件#ifndef _AFXWIN_H_ #error 在包含此文件之前包含“stdafx.h”以生成 PCH 文件#include resource.h / 主符号/ CMyThreadApp:/ 有关此类的实现,请参阅 MyThread.cppclass CMyThreadApp : publi

4、c CWinAppEx CMyThreadApp(); virtual BOOL InitInstance(); virtual int ExitInstance(); BOOL m_bHiColorIcons; virtual void PreLoadState(); virtual void LoadCustomState(); virtual void SaveCustomState(); afx_msg void OnAppAbout();extern CMyThreadApp theApp;/ MyThreadDoc.h : CMyThreadDoc 类的接口class CMyThr

5、eadDoc : public CDocument CMyThreadDoc(); DECLARE_DYNCREATE(CMyThreadDoc) virtual BOOL OnNewDocument(); virtual void Serialize(CArchive& ar);#ifdef SHARED_HANDLERS virtual void InitializeSearchContent(); virtual void OnDrawThumbnail(CDC& dc, LPRECT lprcBounds);#endif / SHARED_HANDLERS virtual CMyThr

6、eadDoc(); / 用于为搜索处理程序设置搜索内容的 Helper 函数 void SetSearchContent(const CString& value);/ MyThreadView.h : CMyThreadView 类的接口class CMyThreadView : public CView CMyThreadView(); DECLARE_DYNCREATE(CMyThreadView) CMyThreadDoc* GetDocument() const; virtual void OnDraw(CDC* pDC); / 重写以绘制该视图 virtual BOOL OnPre

7、parePrinting(CPrintInfo* pInfo); virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); virtual CMyThreadView(); afx_msg void OnFilePrintPreview(); afx_msg void OnRButtonUp(UINT nFlags, CPoint point); afx_msg void OnContextMenu(CWnd* pWnd,

8、 CPoint point); afx_msg void OnStartthread(); afx_msg void OnStopthread();#ifndef _DEBUG / MyThreadView.cpp 中的调试版本inline CMyThreadDoc* CMyThreadView:GetDocument() const return reinterpret_cast(m_pDocument); / MainFrm.cpp : CMainFrame 类的实现stdafx.hMyThread.hMainFrm.h#define new DEBUG_NEW/ CMainFrameIM

9、PLEMENT_DYNCREATE(CMainFrame, CFrameWndEx)const int iMaxUserToolbars = 10;const UINT uiFirstUserToolBarId = AFX_IDW_CONTROLBAR_FIRST + 40;const UINT uiLastUserToolBarId = uiFirstUserToolBarId + iMaxUserToolbars - 1;BEGIN_MESSAGE_MAP(CMainFrame, CFrameWndEx) ON_WM_CREATE() ON_COMMAND(ID_VIEW_CUSTOMIZ

10、E, &CMainFrame:OnViewCustomize) ON_REGISTERED_MESSAGE(AFX_WM_CREATETOOLBAR, &OnToolbarCreateNew)END_MESSAGE_MAP()static UINT indicators = ID_SEPARATOR, / 状态行指示器 ID_INDICATOR_CAPS, ID_INDICATOR_NUM, ID_INDICATOR_SCRL,/ CMainFrame 构造/析构CMainFrame() / TODO: 在此添加成员初始化代码CMainFrame()int CMainFrame:OnCreat

11、e(LPCREATESTRUCT lpCreateStruct) if (CFrameWndEx:OnCreate(lpCreateStruct) = -1) return -1; BOOL bNameValid; / 设置用于绘制所有用户界面元素的视觉管理器 CMFCVisualManager:SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerVS2008); if (!m_wndMenuBar.Create(this) TRACE0(未能创建菜单栏n); / 未能创建 m_wndMenuBar.SetPaneStyle(m_wndMenuBar.GetPaneStyle() | CBRS_SIZE_DYNAMIC | CBRS_TOOLTIPS | CBRS_FLYBY); / 防止菜单栏在激活时获得焦点 CMFCPopupMenu:SetForceMenuFocus(FALSE);m_wndToolBar.Creat

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1