Click here to Skip to main content
15,884,298 members
Articles / Desktop Programming / MFC

An Advanced Preview within Doc/Vew architecture

Rate me:
Please Sign up or sign in to vote.
4.67/5 (3 votes)
12 Oct 2000 126.3K   2.6K   28  
A simple class that helps provide faster Print Preview within MFC Doc/View applications
// AdvancedPreview.h 

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"

class CAdvancedPreviewApp : public CWinApp
{
public:
	CAdvancedPreviewApp();

	//{{AFX_VIRTUAL(CAdvancedPreviewApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

	//{{AFX_MSG(CAdvancedPreviewApp)
	afx_msg void OnAppAbout();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


//{{AFX_INSERT_LOCATION}}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Japan Japan
I have been programming for over 20 years and now run my own development company, Informax Inc., Osaka in Japan.
Informax provides contract programming and engineering services. We can serve you with experiences in C++, DirectShow Filters, Shell Extension, MFC, ATL, WTL, STL, Boost, OTL, Windows2000 and XP, SymbianOS C++.
Our speciality is the OOP and Design-Patterns solution throughout all entire project.

Comments and Discussions