国产精品婷婷久久久久久,日本中文字幕平台,天天躁夜夜躁av天天爽,国内极度色诱视频网站

如何在程序中的任何地方取得當(dāng)前cview和cdocument的指針(外文文獻(xiàn)翻譯).doc

約8頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)

如何在程序中的任何地方取得當(dāng)前cview和cdocument的指針(外文文獻(xiàn)翻譯),anywheresummary in a microsoft foundation classes (mfc) windows-based application, it is often useful to be able to get a pointer to the currently active docume...
編號(hào):10-206302大小:50.50K
分類: 論文>外文翻譯

內(nèi)容介紹

此文檔由會(huì)員 wanli1988go 發(fā)布

Anywhere
SUMMARY
In a Microsoft Foundation Classes (MFC) Windows-based application, it is often useful to be able to get a pointer to the currently active document or view from anywhere in the program. For example, being able to access the current document from a dialog box is sometimes useful. This article discusses the simplest methods for doing so, using the relationships between MFC objects, and basic MFC architecture.
CView
This class provides the basic functionality for user-defined view classes. A view is attached to a document and acts as an intermediary between the document and the user: the view renders an image of the document on the screen or printer and interprets user input as operations upon the document.
摘 要
在基于MFC的Windows應(yīng)用程序中。能夠在程序中任何地方取得指針到當(dāng)前的活動(dòng)document類或view類是非常有用的。例如,能夠從一個(gè)對(duì)話框取得指針到當(dāng)前活動(dòng)的document類是非常有用的。本篇文章則討論實(shí)現(xiàn)上述要求的最簡(jiǎn)單的方法,即使用MFC對(duì)象之間以及基本的MFC結(jié)構(gòu)的相互關(guān)系來(lái)完成。

Cview類
Cview類為自定義的視類提供了基本的性質(zhì)與功能。一個(gè)視是與一個(gè)文檔相聯(lián)系的并且作為文檔與用戶之間的一個(gè)中間媒介:視表現(xiàn)為文檔在屏幕上或打印機(jī)的界面視圖并且能夠解釋用戶基于文檔操作的有關(guān)輸入輸出。