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.

54 lines
1.4 KiB

  1. // LocatDlg.cpp : implementation file
  2. //
  3. //=--------------------------------------------------------------------------=
  4. // Copyright 1997-1999 Microsoft Corporation. All Rights Reserved.
  5. //
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  7. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  8. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  9. // PARTICULAR PURPOSE.
  10. //=--------------------------------------------------------------------------=
  11. #include "stdafx.h"
  12. #include "MQApitst.h"
  13. #include "LocatDlg.h"
  14. #ifdef _DEBUG
  15. #define new DEBUG_NEW
  16. #undef THIS_FILE
  17. static char THIS_FILE[] = __FILE__;
  18. #endif
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CLocateDialog dialog
  21. CLocateDialog::CLocateDialog(CWnd* pParent /*=NULL*/)
  22. : CDialog(CLocateDialog::IDD, pParent)
  23. {
  24. //{{AFX_DATA_INIT(CLocateDialog)
  25. m_szLabel = TEXT("MQ API test");
  26. //}}AFX_DATA_INIT
  27. }
  28. void CLocateDialog::DoDataExchange(CDataExchange* pDX)
  29. {
  30. CDialog::DoDataExchange(pDX);
  31. //{{AFX_DATA_MAP(CLocateDialog)
  32. DDX_Text(pDX, IDC_LOCATE_LABEL, m_szLabel);
  33. DDV_MaxChars(pDX, m_szLabel, 128);
  34. //}}AFX_DATA_MAP
  35. }
  36. BEGIN_MESSAGE_MAP(CLocateDialog, CDialog)
  37. //{{AFX_MSG_MAP(CLocateDialog)
  38. // NOTE: the ClassWizard will add message map macros here
  39. //}}AFX_MSG_MAP
  40. END_MESSAGE_MAP()
  41. /////////////////////////////////////////////////////////////////////////////
  42. // CLocateDialog message handlers