senddlg.h

来自「一个批量发送电子邮件的程序」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_SENDDLG_H__9E10098B_FA89_4352_A3EE_916EA67C0BD5__INCLUDED_)
#define AFX_SENDDLG_H__9E10098B_FA89_4352_A3EE_916EA67C0BD5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SendDlg.h : header file
//
#define WM_THREADFINISHED (WM_USER + 100)
/////////////////////////////////////////////////////////////////////////////
// CSendDlg dialog

class CSendDlg : public CDialog
{
// Construction
public:
	CSendDlg(CWnd* pParent = NULL);   // standard constructor
    CString m_strFrom;
	CString m_strTo;
	CString m_strBody;
	CString m_strSubject;
	CString m_strSmtpServer;
	int m_nPort;
	int m_nCopyNumber;

	void EnableUI(BOOL bEnable,BOOL bAvi);
// Dialog Data
	//{{AFX_DATA(CSendDlg)
	enum { IDD = IDD_SEND_DIALOG };
	CAnimateCtrl	m_ctrlAnimate;
	CString	m_strStatus;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSendDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSendDlg)
	afx_msg LRESULT OnThreadFinished(WPARAM wParam,LPARAM lParam);
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
UINT SendMailMulti(LPVOID pParam);
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SENDDLG_H__9E10098B_FA89_4352_A3EE_916EA67C0BD5__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?