========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : textbmp
========================================================================
///////////////////////////////////////////////////////////////////////////
//
//
// Copyright: Jacob Boo
// Created: 28-June-1999
//
// A Single Page Printing FrameWork
//
// You are free to use or modify this code without any restrictions.
//
//
// Credits:
// Special thanks goes to Joe Ismert for providing the VC6.0 fix for the RulerBar
//
//
//======================================================================
//DISCLAIMER:
//
//THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
//THE ENTIRE RISK OF THE USE OF THE SOFTWARE IS ASSUMED BY YOU.
//
//
//THE AUTHOR OF THIS SOFTWARE SPECIFICALLY DISCLAIMS ALL WARRANTIES,
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFINGEMENT WITH
//RESPECT TO THIS SOFTWARE AND ANY ACCOMPANYING WRITTEN MATERIALS.
//
//
//IN NO EVENT WILL THE AUTHOR BE LIABLE TO YOU FOR
//DAMAGES, INCLUDING ANY LOSS OF PROFITS, DATA, OR OTHER INCIDENTAL OR CONSEQUENTIAL
//DAMAGES ARISING OUT OF YOUR USE OR INABILITY TO USE THIS SOFTWARE, EVEN IF
//THE AUTHOR HAS BEEN SPECIFICALLY ADVISED ON THE
//POSSIBLILITY OF SUCH DAMAGES.
////////////////////////////////////////////////////////////////////////////
AppWizard has created this textbmp application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your textbmp application.
textbmp.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CTextbmpApp application class.
textbmp.cpp
This is the main application source file that contains the application
class CTextbmpApp.
textbmp.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Developer Studio.
res\textbmp.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file textbmp.rc.
res\textbmp.rc2
This file contains resources that are not edited by Microsoft
Developer Studio. You should place all resources not
editable by the resource editor in this file.
textbmp.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CFrameWnd and controls all SDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the
CMainFrame class. Edit this toolbar bitmap along with the
array in MainFrm.cpp to add more toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
textbmpDoc.h, textbmpDoc.cpp - the document
These files contain your CTextbmpDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CTextbmpDoc::Serialize).
textbmpView.h, textbmpView.cpp - the view of the document
These files contain your CTextbmpView class.
CTextbmpView objects are used to view CTextbmpDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named textbmp.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Developer Studio reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC40XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC40DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
singlepage.zip (38个子文件)
Mainfrm.cpp 3KB
textbmp.dsp 5KB
STDAFX.CPP 205B
RESOURCE.H 2KB
TEXTBMP.H 1KB
RES
textbmpdoc.ico 1KB
RULERBLM.BMP 166B
TOOLBAR1.BMP 598B
FONT.BMP 358B
RULERTAM.BMP 142B
RULERUP.BMP 182B
RULERTA.BMP 142B
TOOLBAR.BMP 1KB
TEXTBMP.ICO 1KB
RULERDOM.BMP 182B
BMP00002.BMP 142B
BMP00003.BMP 142B
TEXTBMP.RC2 399B
RULERUPM.BMP 182B
RULERBL.BMP 166B
BMP00001.BMP 166B
STYLES.BMP 838B
BITMAP1.BMP 166B
RULERDO.BMP 182B
Textbmpdoc.cpp 2KB
Textbmpview.h 5KB
TEXTBMP.RC 13KB
Textbmpdoc.h 1KB
Readme.txt 5KB
Textbmpview.cpp 30KB
RULER.H 3KB
RULERV.H 4KB
MAINFRM.H 2KB
Rulerv.cpp 10KB
STDAFX.H 987B
Ruler.cpp 10KB
TEXTBMP.CPP 4KB
TEXTBMP.DSW 537B
共 38 条
- 1
资源评论
普通网友
- 粉丝: 882
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功