VC++打印程序Print


VC++实现打印 打印控制 打印输出 打印工作证
资源截图
代码片段和文件信息
// PrintText.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “PrintText.h“
#include “PrintTextDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CPrintTextApp

BEGIN_MESSAGE_MAP(CPrintTextApp CWinApp)
//{{AFX_MSG_MAP(CPrintTextApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPrintTextApp construction

CPrintTextApp::CPrintTextApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CPrintTextApp object

CPrintTextApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CPrintTextApp initialization

BOOL CPrintTextApp::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CPrintTextDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1745  2009-05-16 13:08  例12.6PrintFormPrintForm.clw

     文件       2105  2009-04-30 12:57  例12.6PrintFormPrintForm.cpp

     文件       4213  2009-04-30 12:57  例12.6PrintFormPrintForm.dsp

     文件        541  2009-04-30 12:57  例12.6PrintFormPrintForm.dsw

     文件       1357  2009-04-30 12:57  例12.6PrintFormPrintForm.h

     文件     655360  2009-05-16 13:08  例12.6PrintFormPrintForm.opt

     文件       6466  2009-04-30 13:49  例12.6PrintFormPrintForm.rc

     文件       6507  2009-04-30 13:51  例12.6PrintFormPrintFormDlg.cpp

     文件       1368  2009-04-30 13:39  例12.6PrintFormPrintFormDlg.h

     文件       3633  2009-04-30 12:57  例12.6PrintFormReadMe.txt

     文件       1078  2009-04-30 12:57  例12.6PrintForm
esPrintForm.ico

     文件        401  2009-04-30 12:57  例12.6PrintForm
esPrintForm.rc2

     文件       1193  2009-04-30 13:40  例12.6PrintForm
esource.h

     文件        211  2009-04-30 12:57  例12.6PrintFormStdAfx.cpp

     文件       1054  2009-04-30 12:57  例12.6PrintFormStdAfx.h

     文件     192512  2009-07-24 16:35  例12.7PrintTableDatabase.mdb

     文件       1149  2009-05-16 13:09  例12.7PrintTablePrintTable.clw

     文件       2166  2009-05-06 09:01  例12.7PrintTablePrintTable.cpp

     文件       4231  2009-05-05 16:06  例12.7PrintTablePrintTable.dsp

     文件        543  2009-05-05 16:06  例12.7PrintTablePrintTable.dsw

     文件       1368  2009-05-05 16:06  例12.7PrintTablePrintTable.h

     文件      53760  2009-05-16 13:09  例12.7PrintTablePrintTable.opt

     文件       5417  2009-05-07 13:56  例12.7PrintTablePrintTable.rc

     文件       7735  2009-05-07 13:37  例12.7PrintTablePrintTableDlg.cpp

     文件       1509  2009-05-06 10:26  例12.7PrintTablePrintTableDlg.h

     文件       3651  2009-05-05 16:06  例12.7PrintTableReadMe.txt

     文件       1078  2009-05-05 16:06  例12.7PrintTable
esPrintTable.ico

     文件        402  2009-05-05 16:06  例12.7PrintTable
esPrintTable.rc2

     文件        734  2009-05-06 09:34  例12.7PrintTable
esource.h

     文件        212  2009-05-05 16:06  例12.7PrintTableStdAfx.cpp

............此处省略142个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)