win32printdialog.h

来自「这是VCF框架的代码」· C头文件 代码 · 共 88 行

H
88
字号
#ifndef _WIN32PRINTDIALOG_H__#define _WIN32PRINTDIALOG_H__/*Copyright 2000-2004 The VCF Project.Please see License.txt in the top level directorywhere you installed the VCF.*/#if _MSC_VER > 1000#   pragma once#endifnamespace VCF {class Control;/**class Win32PrintDialog documentation*/class Win32PrintDialog  : public Object, public CommonPrintDialogPeer {public: 	Win32PrintDialog( Control* owner );	virtual ~Win32PrintDialog();	virtual void setTitle( const String& title );	virtual bool execute();	virtual void setPrintInfo( PrintInfoHandle info );		virtual PrintInfoHandle getPrintInfo();	virtual void setNumberOfCopies( const ulong32& val );	virtual ulong32 getNumberOfCopies();		virtual void setStartPage( const ulong32& val );	virtual ulong32 getStartPage();	virtual void setEndPage( const ulong32& val );	virtual ulong32 getEndPage();	virtual void setPrintJobType( PrintSession::PrintJob val );	virtual PrintSession::PrintJob getPrintJobType();protected:	String title_;	Control* owner_;	Win32PrintInfo printInfo_;	static UINT CALLBACK PrintHookProc( HWND hdlg, UINT uiMsg, WPARAM wParam, LPARAM lParam );};};/***CVS Log info*$Log$*Revision 1.2  2004/12/01 04:31:39  ddiego*merged over devmain-0-6-6 code. Marcello did a kick ass job*of fixing a nasty bug (1074768VCF application slows down modal dialogs.)*that he found. Many, many thanks for this Marcello.**Revision 1.1.2.1  2004/08/31 04:12:12  ddiego*cleaned up the GraphicsContext class - made more pervasive use*of transformation matrix. Added common print dialog class. Fleshed out*printing example more.**/#endif //_WIN32PRINTDIALOG_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?