1999-02-03 20:02:51 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
1999-11-02 08:38:33 +03:00
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
1999-02-03 20:02:51 +03:00
|
|
|
*
|
1999-11-02 08:38:33 +03:00
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
1999-02-03 20:02:51 +03:00
|
|
|
*
|
1999-11-02 08:38:33 +03:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
1999-02-03 20:02:51 +03:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
1999-11-02 08:38:33 +03:00
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
1999-02-03 20:02:51 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
// NewDialog.h : header file
|
|
|
|
//
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// CNewDialog dialog
|
|
|
|
|
|
|
|
class CNewDialog : public CDialog
|
|
|
|
{
|
|
|
|
// Construction
|
|
|
|
public:
|
|
|
|
CNewDialog(CWnd* pParent = NULL); // standard constructor
|
|
|
|
|
|
|
|
// Dialog Data
|
|
|
|
//{{AFX_DATA(CNewDialog)
|
|
|
|
enum { IDD = IDD_NEW_DIALOG };
|
|
|
|
CString m_DataField;
|
|
|
|
CString m_EditField;
|
|
|
|
//}}AFX_DATA
|
|
|
|
|
|
|
|
|
|
|
|
CString myData;
|
|
|
|
CString GetData();
|
1999-10-06 00:30:20 +04:00
|
|
|
void DDV_INIFile(CDataExchange* pDX, CString value);
|
1999-02-03 20:02:51 +03:00
|
|
|
|
|
|
|
// Overrides
|
|
|
|
// ClassWizard generated virtual function overrides
|
|
|
|
//{{AFX_VIRTUAL(CNewDialog)
|
|
|
|
protected:
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
// Implementation
|
|
|
|
protected:
|
|
|
|
|
|
|
|
// Generated message map functions
|
|
|
|
//{{AFX_MSG(CNewDialog)
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
virtual void OnOK();
|
|
|
|
virtual void OnCancel();
|
|
|
|
//}}AFX_MSG
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
};
|