mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
1.8 KiB
75 lines
1.8 KiB
// RecvMDlg.h : header file
|
|
//
|
|
//=--------------------------------------------------------------------------=
|
|
// Copyright 1997-1999 Microsoft Corporation. All Rights Reserved.
|
|
//
|
|
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
|
|
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
|
// PARTICULAR PURPOSE.
|
|
//=--------------------------------------------------------------------------=
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CReceiveMessageDialog dialog
|
|
|
|
class CReceiveMessageDialog : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CReceiveMessageDialog(CArray <ARRAYQ*, ARRAYQ*>*, CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CReceiveMessageDialog)
|
|
enum { IDD = IDD_RECEIVE_MESSAGE_DIALOG };
|
|
CComboBox m_PathNameCB;
|
|
CString m_szPathName;
|
|
int m_iTimeout;
|
|
DWORD m_dwBodySize;
|
|
//}}AFX_DATA
|
|
|
|
/* pointer to the array with the strings for the combo box (Queues PathName). */
|
|
CArray <ARRAYQ*, ARRAYQ*>* m_pStrArray ;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CReceiveMessageDialog)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CReceiveMessageDialog)
|
|
virtual BOOL OnInitDialog();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
public:
|
|
|
|
void GetPathName(TCHAR szPathName[BUFFERSIZE])
|
|
{
|
|
_tcscpy (szPathName, m_szPathName);
|
|
}
|
|
|
|
DWORD GetTimeout()
|
|
{
|
|
if (m_iTimeout < 0)
|
|
{
|
|
m_iTimeout = INFINITE;
|
|
}
|
|
return (m_iTimeout);
|
|
}
|
|
|
|
DWORD GetBodySize()
|
|
{
|
|
if (m_dwBodySize == 0)
|
|
{
|
|
m_dwBodySize = BUFFERSIZE ;
|
|
}
|
|
return (m_dwBodySize) ;
|
|
}
|
|
|
|
};
|