privatemsgdlg.h

来自「一个简易的聊天室程序」· C头文件 代码 · 共 58 行

H
58
字号

#if !defined(AFX_PRIVATEMSGDLG_H__8EBC271C_1F27_11D7_8902_8371D3FBCE16__INCLUDED_)
#define AFX_PRIVATEMSGDLG_H__8EBC271C_1F27_11D7_8902_8371D3FBCE16__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PrivateMsgDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPrivateMsgDlg dialog

class CPrivateMsgDlg : public CDialog
{
// Construction
public:
	CPrivateMsgDlg(CWnd* pParent = NULL , BOOL bDisplayOnly = FALSE , CString strMsg = _T(""));   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPrivateMsgDlg)
	enum { IDD = IDD_PRIVATE_DLG };
	CString	m_PrivateMsg;
	CString m_MsgTo;
	CString	m_PrivateMsgRE;
	//}}AFX_DATA

	CWnd*    m_pParent;
	UINT     m_nID;
	BOOL     m_bDisplayOnly;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPrivateMsgDlg)
	public:
	virtual BOOL Create(); //LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	virtual int DoModal();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPrivateMsgDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PRIVATEMSGDLG_H__8EBC271C_1F27_11D7_8902_8371D3FBCE16__INCLUDED_)

⌨️ 快捷键说明

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