|
// EmailDlg.h : header file
//
// Copyright (c) 2011 by Andrew W. Phillips.
//
// This file is distributed under the MIT license, which basically says
// you can do what you want with it but I take no responsibility for bugs.
// See http://www.opensource.org/licenses/mit-license.php for full details.
//
#if !defined(AFX_EMAILDLG_H__C0AA8EC1_8393_11D2_B02B_0020AFDC3196__INCLUDED_)
#define AFX_EMAILDLG_H__C0AA8EC1_8393_11D2_B02B_0020AFDC3196__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CEmailDlg dialog
class CEmailDlg : public CDialog
{
// Construction
public:
CEmailDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CEmailDlg)
enum { IDD = IDD_EMAIL };
CString to_;
CString subject_;
CString systype_;
CString text_;
int type_;
CString name_;
CString address_;
CString version_;
//}}AFX_DATA
BOOL attach_;
CString attachment_;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEmailDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CEmailDlg)
virtual void OnOK();
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
virtual BOOL OnInitDialog();
afx_msg void OnEmailHelp();
afx_msg void OnAttach();
afx_msg void OnAttachmentBrowse();
//}}AFX_MSG
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EMAILDLG_H__C0AA8EC1_8393_11D2_B02B_0020AFDC3196__INCLUDED_)
|
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.
Andrew has a BSc (1983) from Sydney University in Computer Science and Mathematics. Andrew began programming professionally in C in 1984 and has since used many languages but mainly C, C++, and C#.
Andrew has a particular interest in STL, .Net, and Agile Development. He has written articles on STL for technical journals such as the C/C++ User's Journal.
In 1997 Andrew began using MFC and released the source code for a Windows binary file editor called HexEdit, which was downloaded more than 1 million times. From 2001 there was a shareware version of HexEdit (later called HexEdit Pro). HexEdit has been updated to uses the new MFC (based on BCG) and is once more open source.