windows-nt/Source/XPSP1/NT/inetsrv/msmq/sdk/samples/mqapitst/crqdlg.h

57 lines
1.4 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
// CrQDlg.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.
//=--------------------------------------------------------------------------=
/////////////////////////////////////////////////////////////////////////////
// CCreateQueueDialog dialog
class CCreateQueueDialog : public CDialog
{
// Construction
public:
CCreateQueueDialog(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCreateQueueDialog)
enum { IDD = IDD_CREATE_QUEUE_DIALOG };
CString m_strLabel;
CString m_strPathName;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCreateQueueDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCreateQueueDialog)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void GetPathName(TCHAR szPathNameBuffer[BUFFERSIZE])
{
_tcscpy (szPathNameBuffer, LPCTSTR(m_strPathName));
}
void GetLabel(TCHAR szLabelBuffer[BUFFERSIZE])
{
_tcscpy (szLabelBuffer, LPCTSTR(m_strLabel));
}
};