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.

72 lines
1.5 KiB

  1. /*++
  2. Microsoft Windows
  3. Copyright (C) Microsoft Corporation, 1981 - 1999
  4. Module Name:
  5. recvconf.h
  6. Abstract:
  7. Dialog which prompts the user for receive confirmation.
  8. Author:
  9. Rahul Thombre (RahulTh) 10/26/1999
  10. Revision History:
  11. 10/26/1999 RahulTh Created this module.
  12. --*/
  13. #if !defined(_RECV_CONF_33fC3E26_AFED_428C_AE07_2C96b6F97969_INCLUDED_)
  14. #define _RECV_CONF_33fC3E26_AFED_428C_AE07_2C96b6F97969_INCLUDED_
  15. #define COMPACT_PATHLEN 35
  16. class CRecvConf : public CDialog
  17. {
  18. public:
  19. CRecvConf (CWnd * pParent = NULL);
  20. void ShowAllYes (BOOL bShow = TRUE);
  21. void InitNames (LPCTSTR szMachine, LPTSTR szFile, BOOL fDirectory);
  22. // Dialog Data
  23. //{{AFX_DATA(CRecvConf)
  24. enum { IDD = IDD_CONFIRMRECV };
  25. CButton m_btnYes;
  26. CButton m_btnAllYes;
  27. CStatic m_confirmText;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CRecvConf)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. // Generated message map functions
  38. //{{AFX_MSG(CIrRecvProgress)
  39. virtual BOOL OnInitDialog();
  40. afx_msg void OnAllYes();
  41. afx_msg void OnYes();
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. private:
  45. BOOL m_bShowAllYes;
  46. BOOL m_bDirectory;
  47. CString m_szFileName;
  48. CString m_szMachine;
  49. CWnd * m_pParent;
  50. };
  51. #endif // !defined(_RECV_CONF_33fC3E26_AFED_428C_AE07_2C96b6F97969_INCLUDED_)