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.

53 lines
1.3 KiB

  1. // LocatDlg.h : header 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. /////////////////////////////////////////////////////////////////////////////
  12. // CLocateDialog dialog
  13. class CLocateDialog : public CDialog
  14. {
  15. // Construction
  16. public:
  17. CLocateDialog(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(CLocateDialog)
  20. enum { IDD = IDD_LOCATE_DIALOG };
  21. CString m_szLabel;
  22. //}}AFX_DATA
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CLocateDialog)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. // Generated message map functions
  32. //{{AFX_MSG(CLocateDialog)
  33. // NOTE: the ClassWizard will add member functions here
  34. //}}AFX_MSG
  35. DECLARE_MESSAGE_MAP()
  36. public:
  37. void GetLabel(TCHAR szLabelBuffer[BUFFERSIZE])
  38. {
  39. _tcscpy (szLabelBuffer, m_szLabel);
  40. }
  41. };