Click here to Skip to main content
15,885,435 members
Articles / Web Development / HTML

Printing Framework

Rate me:
Please Sign up or sign in to vote.
3.77/5 (10 votes)
22 Nov 20032 min read 65.1K   3.3K   28  
Simple framework for text and graphic Printing/Previewing
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>printer::CViewPrintPreview class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- G�n�r� par Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Page principale</a> &nbsp; <a class="qindex" href="namespaces.html">Liste des namespaces</a> &nbsp; <a class="qindex" href="hierarchy.html">Hi�rarchie des classes</a> &nbsp; <a class="qindex" href="classes.html">Liste par ordre alphab�tique</a> &nbsp; <a class="qindex" href="annotated.html">Liste des composants</a> &nbsp; <a class="qindex" href="files.html">Liste des fichiers</a> &nbsp; <a class="qindex" href="functions.html">Composants</a> &nbsp; </center>
<hr><h1>R�f�rence de la classe printer::CViewPrintPreview</h1>Int�gration du m�canisme MFC dans le framework. 
<a href="#_details">Plus de d�tails...</a>
<p>
<code>#include &lt;ViewPrintPreview.h&gt;</code>
<p>
Graphe d'h�ritage de la classe printer::CViewPrintPreview<p><center><img src="classprinter_1_1CViewPrintPreview__inherit__graph.png" border="0" usemap="#printer_1_1CViewPrintPreview__inherit__map" alt="Inheritance graph"></center>
<center><font size="2">[<a href="graph_legend.html">L�gende</a>]</font></center>Diagramme de collaboration de printer::CViewPrintPreview:<p><center><img src="classprinter_1_1CViewPrintPreview__coll__graph.png" border="0" usemap="#printer_1_1CViewPrintPreview__coll__map" alt="Collaboration graph"></center>
<map name="printer_1_1CViewPrintPreview__coll__map">
<area href="classprinter_1_1CPrinterAbstract.html" shape="rect" coords="189,107,341,128" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">L�gende</a>]</font></center><a href="classprinter_1_1CViewPrintPreview-members.html">Liste de tous les membres</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Membres publics</h2></td></tr>
<tr><td nowrap align=right valign=top>afx_msg void&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#a0">OnFilePrintPreview</a> ()</td></tr>
<tr><td colspan=2><br><h2>Attributs Publics</h2></td></tr>
<tr><td nowrap align=right valign=top>CWnd *&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#m0">m_pWnd</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classprinter_1_1CPrinterAbstract.html">CPrinterAbstract</a> *&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#m1">m_pPrinter</a></td></tr>
<tr><td nowrap align=right valign=top>CFrameWnd *&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#m2">m_pOldFrame</a></td></tr>
<tr><td colspan=2><br><h2>Membres prot�g�s</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#b0">CViewPrintPreview</a> ()</td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#b1">~CViewPrintPreview</a> ()</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#b2">OnDraw</a> (CDC *pDC)</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#b3">OnBeginPrinting</a> (CDC *pDC, CPrintInfo *pInfo)</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#b4">OnPrint</a> (CDC *pDC, CPrintInfo *pInfo)</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#b5">OnEndPrinting</a> (CDC *pDC, CPrintInfo *pInfo)</td></tr>
<tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#b6">OnPreparePrinting</a> (CPrintInfo *pInfo)</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#b7">OnEndPrintPreview</a> (CDC *pDC, CPrintInfo *pInfo, POINT point, CPreviewView *pView)</td></tr>
<tr><td colspan=2><br><h2>Membres priv�s</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#c0">_OnFilePrintPreview</a> ()</td></tr>
<tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#c1">_DoPrintPreview</a> (UINT nIDResource, CView *pPrintView, CRuntimeClass *pPreviewViewClass, CPrintPreviewState *pState)</td></tr>
<tr><td colspan=2><br><h2>Amis (friends)</h2></td></tr>
<tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classprinter_1_1CViewPrintPreview.html#l0">CPreviewViewExt</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Description d�taill�e</h2>
Int�gration du m�canisme MFC dans le framework.
<p>
La classe se calque sur le code original des MFC (6.0). Un des objectifs du module est de permettre la pr�visualisation � partir d'un seul appel : Preview.<p>
Avec le code de <a class="el" href="classprinter_1_1CPrinterAbstract.html#z3_1">CPrinterAbstract::Preview</a>, c'est la partie la plus technique de la dll. Il faut prendre soin de l'�tat des threads, cr�er un 'clone' simplifi� de l'application, en lui substituant cette vue.<p>
L'id�e centrale est de s'appuyer sur les MFC et de d�rouler les appels OnXXPrinting de la vue en redirigeant le flot d'ex�cution de l'impression sur les m�thodes de la classe Printer. On force ainsi le passage dans toutes les m�thodes OnXXPrinting du printer � partir d'un seul appel... 
<p>
<hr><h2>Documentation des contructeurs et destructeurs</h2>
<a name="b0" doxytag="printer::CViewPrintPreview::CViewPrintPreview"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> printer::CViewPrintPreview::CViewPrintPreview </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Le constructeur </dd></dl>
<dl compact><dt><b>Avertissement:</b></dt><dd>L'objet est cr�� dynamiquement =&gt; le constructeur est prot�g�.</dd></dl>
    </td>
  </tr>
</table>
<a name="b1" doxytag="printer::CViewPrintPreview::~CViewPrintPreview"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual printer::CViewPrintPreview::~CViewPrintPreview </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Le destructeur</dd></dl>
    </td>
  </tr>
</table>
<hr><h2>Documentation des m�thodes</h2>
<a name="c1" doxytag="printer::CViewPrintPreview::_DoPrintPreview"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> BOOL printer::CViewPrintPreview::_DoPrintPreview </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">UINT&nbsp;</td>
          <td class="mdname" nowrap> <em>nIDResource</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>CView *&nbsp;</td>
          <td class="mdname" nowrap> <em>pPrintView</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>CRuntimeClass *&nbsp;</td>
          <td class="mdname" nowrap> <em>pPreviewViewClass</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>CPrintPreviewState *&nbsp;</td>
          <td class="mdname" nowrap> <em>pState</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [private]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Le clone de la m�thode originale. Voir doc dans .cpp</dd></dl>
    </td>
  </tr>
</table>
<a name="c0" doxytag="printer::CViewPrintPreview::_OnFilePrintPreview"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void printer::CViewPrintPreview::_OnFilePrintPreview </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [private]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Le clone de la m�thode originale. Voir doc dans .cpp</dd></dl>
    </td>
  </tr>
</table>
<a name="b3" doxytag="printer::CViewPrintPreview::OnBeginPrinting"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void printer::CViewPrintPreview::OnBeginPrinting </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">CDC *&nbsp;</td>
          <td class="mdname" nowrap> <em>pDC</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>CPrintInfo *&nbsp;</td>
          <td class="mdname" nowrap> <em>pInfo</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Initialisation du contexte suite. </dd></dl>
<dl compact><dt><b>Param�tres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pDC</em>&nbsp;</td><td>: Un pointeur sur le contexte d'impression. </td></tr>
    <tr><td valign=top><em>pInfo</em>&nbsp;</td><td>: Un pointeur sur le param�trage du contexte d'impression </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="b2" doxytag="printer::CViewPrintPreview::OnDraw"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void printer::CViewPrintPreview::OnDraw </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">CDC *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pDC</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Affichage de la fen�tre. </dd></dl>
<dl compact><dt><b>Param�tres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pDC</em>&nbsp;</td><td>: Un pointeur sur le contexte d'impression. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="b5" doxytag="printer::CViewPrintPreview::OnEndPrinting"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void printer::CViewPrintPreview::OnEndPrinting </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">CDC *&nbsp;</td>
          <td class="mdname" nowrap> <em>pDC</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>CPrintInfo *&nbsp;</td>
          <td class="mdname" nowrap> <em>pInfo</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Nettoyage du contexte d'impression et lib�ration des ressources. </dd></dl>
<dl compact><dt><b>Param�tres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pDC</em>&nbsp;</td><td>: Un pointeur sur le contexte d'impression. </td></tr>
    <tr><td valign=top><em>pInfo</em>&nbsp;</td><td>: Un pointeur sur le param�trage du contexte d'impression </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="b7" doxytag="printer::CViewPrintPreview::OnEndPrintPreview"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void printer::CViewPrintPreview::OnEndPrintPreview </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">CDC *&nbsp;</td>
          <td class="mdname" nowrap> <em>pDC</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>CPrintInfo *&nbsp;</td>
          <td class="mdname" nowrap> <em>pInfo</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>POINT&nbsp;</td>
          <td class="mdname" nowrap> <em>point</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>CPreviewView *&nbsp;</td>
          <td class="mdname" nowrap> <em>pView</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Terminaison de la pr�visualisation. </dd></dl>
<dl compact><dt><b>Param�tres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pDC</em>&nbsp;</td><td>: Un pointeur sur le contexte d'impression. </td></tr>
    <tr><td valign=top><em>pInfo</em>&nbsp;</td><td>: Un pointeur sur le param�trage du contexte d'impression </td></tr>
    <tr><td valign=top><em>point</em>&nbsp;</td><td>: Les coordonn�es actuelles de la souris </td></tr>
    <tr><td valign=top><em>pView</em>&nbsp;</td><td>: Un pointeur sur la fen�tre d'aper�u </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a0" doxytag="printer::CViewPrintPreview::OnFilePrintPreview"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> afx_msg void printer::CViewPrintPreview::OnFilePrintPreview </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Surcharge du Handler standard sur le message ID_FILE_PRINT_PREVIEW </dd></dl>
    </td>
  </tr>
</table>
<a name="b6" doxytag="printer::CViewPrintPreview::OnPreparePrinting"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual BOOL printer::CViewPrintPreview::OnPreparePrinting </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">CPrintInfo *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pInfo</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Calcul du nombre de page, Initialisation du contexte. </dd></dl>
<dl compact><dt><b>Param�tres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pInfo</em>&nbsp;</td><td>: Un pointeur sur le param�trage du contexte d'impression </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="b4" doxytag="printer::CViewPrintPreview::OnPrint"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void printer::CViewPrintPreview::OnPrint </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">CDC *&nbsp;</td>
          <td class="mdname" nowrap> <em>pDC</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>CPrintInfo *&nbsp;</td>
          <td class="mdname" nowrap> <em>pInfo</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Objet :</b></dt><dd>Impression de la page courante. Elle se contente d'un appel aux 3 m�thodes virtuelles, PrintPageHeader, PrintPageFooter et PrintPage (m�thode retard�e). </dd></dl>
<dl compact><dt><b>Param�tres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pDC</em>&nbsp;</td><td>: Un pointeur sur le contexte d'impression. </td></tr>
    <tr><td valign=top><em>pInfo</em>&nbsp;</td><td>: Un pointeur sur le param�trage du contexte d'impression </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<hr><h2>Documentation des fonctions amies et associ�es</h2>
<a name="l0" doxytag="printer::CViewPrintPreview::CPreviewViewExt"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> friend class CPreviewViewExt<code> [friend]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Indispensable !!     </td>
  </tr>
</table>
<hr><h2>Documentation des donn�es imbriqu�es</h2>
<a name="m2" doxytag="printer::CViewPrintPreview::m_pOldFrame"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> CFrameWnd* printer::CViewPrintPreview::m_pOldFrame
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Un pointeur sur l'ancien cadre actif     </td>
  </tr>
</table>
<a name="m1" doxytag="printer::CViewPrintPreview::m_pPrinter"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classprinter_1_1CPrinterAbstract.html">CPrinterAbstract</a>* printer::CViewPrintPreview::m_pPrinter
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Un pointeur sur l'objet charg� de l'impression     </td>
  </tr>
</table>
<a name="m0" doxytag="printer::CViewPrintPreview::m_pWnd"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> CWnd* printer::CViewPrintPreview::m_pWnd
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Un pointeur sur la fen�tre � pr�visualiser     </td>
  </tr>
</table>
<hr>La documentation associ�e � cette classe a �t� g�n�r�e � partir du fichier suivant :<ul>
<li><a class="el" href="ViewPrintPreview_8h.html">ViewPrintPreview.h</a></ul>
<hr><address style="align: right;"><small>G�n�r� le Fri Oct 31 11:09:32 2003 pour Printer par 
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.3 </small></address>
</body>
</html>

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.


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions