home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / dlgdwnld.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.1 KB  |  72 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. // dlgdwnld.h : header file
  20. //
  21.  
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CDownLoadDlg dialog
  24.  
  25. class CDownLoadDlg : public CDialog
  26. {
  27.  
  28. public:
  29.     LOGFONT  m_LogFont;
  30.     CFont    m_Font;
  31.     CFont    m_Font2;
  32.     BOOL     m_bMode;
  33.     CRect     m_bmpRect1,m_bmpRect2,m_bmpRect3;
  34.     int m_nNumberSelected;
  35.     CBitmap m_bmp1,m_bmp2,m_bmp3;
  36.     CDC m_memdc,m_memdc2,m_memdc3;
  37. // Construction
  38. public:
  39.     CDownLoadDlg(CWnd* pParent = NULL);   // standard constructor
  40.     
  41.     void InitDialog(BOOL bMode) {m_bMode = bMode;};  //Sets button window font sizes
  42.     static void ShutDownFrameCallBack(HWND hwnd, MSG_Pane *pane, void * closure);
  43. // Dialog Data
  44.     //{{AFX_DATA(CDownLoadDlg)
  45.     enum { IDD = IDD_GO_ONOROFF_LINE };
  46.     BOOL    m_bDownLoadDiscusions;
  47.     BOOL    m_bDownLoadMail;
  48.     BOOL    m_bSendMessages;
  49.     //}}AFX_DATA
  50.  
  51.  
  52. // Overrides
  53.     // ClassWizard generated virtual function overrides
  54.     //{{AFX_VIRTUAL(CDownLoadDlg)
  55.     protected:
  56.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  57.     //}}AFX_VIRTUAL
  58.  
  59. // Implementation
  60. protected:
  61.  
  62.     // Generated message map functions
  63.     //{{AFX_MSG(CDownLoadDlg)
  64.     afx_msg void OnButtonSelect();
  65.     virtual void OnOK();
  66.     afx_msg void OnPaint();
  67.     virtual BOOL OnInitDialog();
  68.     virtual void OnHelp();
  69.     //}}AFX_MSG
  70.     DECLARE_MESSAGE_MAP()
  71. };
  72.