Source code of Windows XP (NT5)
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.
|
|
// CrQDlg.cpp : implementation 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.
//=--------------------------------------------------------------------------=
#include "stdafx.h"
#include "MQApitst.h"
#include "CrQDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__; #endif
/////////////////////////////////////////////////////////////////////////////
// CCreateQueueDialog dialog
CCreateQueueDialog::CCreateQueueDialog(CWnd* pParent /*=NULL*/) : CDialog(CCreateQueueDialog::IDD, pParent) { TCHAR szTmpBuffer[BUFFERSIZE]; DWORD dwTmpBufferSize = BUFFERSIZE;
GetComputerName(szTmpBuffer, &dwTmpBufferSize);
_tcscat(szTmpBuffer, TEXT("\\"));
//{{AFX_DATA_INIT(CCreateQueueDialog)
m_strLabel = TEXT("MQ API test"); m_strPathName = szTmpBuffer; //}}AFX_DATA_INIT
}
void CCreateQueueDialog::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CCreateQueueDialog)
DDX_Text(pDX, IDC_QUEUE_LABEL, m_strLabel); DDV_MaxChars(pDX, m_strLabel, 128); DDX_Text(pDX, IDC_QUEUE_PATHNAME, m_strPathName); DDV_MaxChars(pDX, m_strPathName, 128); //}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CCreateQueueDialog, CDialog) //{{AFX_MSG_MAP(CCreateQueueDialog)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCreateQueueDialog message handlers
|