home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / cxprndlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.0 KB  |  71 lines

  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. #ifndef __ContextPrintDialog_H
  20. #define __ContextPrintDialog_H
  21.  
  22. // cxprndlg.h : header file
  23. //
  24. class CPrintCX;
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CPrintStatusDialog dialog
  28.  
  29. class CPrintStatusDialog : public CDialog
  30. {
  31. // Construction
  32. public:
  33.     CPrintStatusDialog(CWnd* pParent, CPrintCX *pCX);
  34.     BOOL Create(UINT id, CWnd * pParent) { return(CDialog::Create(id, pParent)); }
  35. private:
  36.     //    The context owning us.
  37.     CPrintCX *m_pCX;
  38.  
  39. public:
  40. // Dialog Data
  41.     //{{AFX_DATA(CPrintStatusDialog)
  42.     enum { IDD = IDD_CONTEXT_PRINT_STATUS };
  43.     CString    m_csLocation;
  44.     CString    m_csProgress;
  45.     //}}AFX_DATA
  46.  
  47.  
  48. // Overrides
  49.     // ClassWizard generated virtual function overrides
  50.     //{{AFX_VIRTUAL(CPrintStatusDialog)
  51.     protected:
  52.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  53.     //}}AFX_VIRTUAL
  54.  
  55. // Implementation
  56. protected:
  57.  
  58.     // Generated message map functions
  59.     //{{AFX_MSG(CPrintStatusDialog)
  60.     virtual void OnCancel();
  61.     afx_msg void OnPaint();
  62.     afx_msg void OnSize(UINT nType, int cx, int cy);
  63.     afx_msg HCURSOR OnQueryDragIcon();
  64.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  65.     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  66.     //}}AFX_MSG
  67.     DECLARE_MESSAGE_MAP()
  68. };
  69.  
  70. #endif // __ContextPrintDialog_H
  71.