home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / msmqocm.cab / crqdlg.h < prev    next >
C/C++ Source or Header  |  1997-10-06  |  1KB  |  49 lines

  1. // CrQDlg.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CCreateQueueDialog dialog
  6.  
  7. class CCreateQueueDialog : public CDialog
  8. {
  9. // Construction
  10. public:
  11.     CCreateQueueDialog(CWnd* pParent = NULL);   // standard constructor
  12.  
  13. // Dialog Data
  14.     //{{AFX_DATA(CCreateQueueDialog)
  15.     enum { IDD = IDD_CREATE_QUEUE_DIALOG };
  16.     CString    m_strLabel;
  17.     CString    m_strPathName;
  18.     //}}AFX_DATA
  19.  
  20. // Overrides
  21.     // ClassWizard generated virtual function overrides
  22.     //{{AFX_VIRTUAL(CCreateQueueDialog)
  23.     protected:
  24.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  25.     //}}AFX_VIRTUAL
  26.  
  27. // Implementation
  28. protected:
  29.  
  30.     // Generated message map functions
  31.     //{{AFX_MSG(CCreateQueueDialog)
  32.     //}}AFX_MSG
  33.     DECLARE_MESSAGE_MAP()
  34.  
  35. public:
  36.     // BUGBUG - set the 256 to BUFFERSIZE definition
  37.     void GetPathName(TCHAR szPathNameBuffer[256])
  38.     {
  39.         _tcscpy (szPathNameBuffer, LPCTSTR(m_strPathName));
  40.     }
  41.  
  42.     // BUGBUG - set the 256 to BUFFERSIZE definition
  43.     void GetLabel(TCHAR szLabelBuffer[256])
  44.     {
  45.         _tcscpy (szLabelBuffer, LPCTSTR(m_strLabel));
  46.     }
  47.  
  48. };
  49.