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

  1. // ClosQDlg.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CCloseQueueDialog dialog
  6.  
  7. class CCloseQueueDialog : public CDialog
  8. {
  9. // Construction
  10. public:
  11.     CCloseQueueDialog(CArray <ARRAYQ*, ARRAYQ*>*, CWnd* pParent = NULL);   // standard constructor
  12.  
  13. // Dialog Data
  14.     //{{AFX_DATA(CCloseQueueDialog)
  15.     enum { IDD = IDD_CLOSE_QUEUE_DIALOG };
  16.     CComboBox    m_PathNameCB;
  17.     CString    m_szPathName;
  18.     //}}AFX_DATA
  19.  
  20.     /* pointer to the array with the strings for the combo box (Queues PathName). */
  21.     CArray <ARRAYQ*, ARRAYQ*>* m_pStrArray ; 
  22.  
  23. // Overrides
  24.     // ClassWizard generated virtual function overrides
  25.     //{{AFX_VIRTUAL(CCloseQueueDialog)
  26.     protected:
  27.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  28.     //}}AFX_VIRTUAL
  29.  
  30. // Implementation
  31. protected:
  32.  
  33.     // Generated message map functions
  34.     //{{AFX_MSG(CCloseQueueDialog)
  35.     virtual BOOL OnInitDialog();
  36.     //}}AFX_MSG
  37.     DECLARE_MESSAGE_MAP()
  38.  
  39. public:
  40.     // BUGBUG - set the 256 to BUFFERSIZE definition
  41.     void GetPathName(TCHAR szPathName[256])
  42.     {
  43.         _tcscpy (szPathName, m_szPathName);
  44.     }
  45.  
  46. };
  47.