Leaked source code of windows server 2003
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.

102 lines
2.5 KiB

  1. /*++
  2. Microsoft Windows
  3. Copyright (C) Microsoft Corporation, 1981 - 1999
  4. Module Name:
  5. sendprogress.h
  6. Abstract:
  7. Author:
  8. Rahul Thombre (RahulTh) 4/30/1998
  9. Revision History:
  10. 4/30/1998 RahulTh
  11. Created this module.
  12. --*/
  13. #if !defined(AFX_SENDPROGRESS_H__90D62E7B_AEEC_11D1_A60A_00C04FC252BD__INCLUDED_)
  14. #define AFX_SENDPROGRESS_H__90D62E7B_AEEC_11D1_A60A_00C04FC252BD__INCLUDED_
  15. #if _MSC_VER >= 1000
  16. #pragma once
  17. #endif // _MSC_VER >= 1000
  18. #define MAGIC_ID 0x89abcdef
  19. // SendProgress.h : header file
  20. //
  21. class CMultDevices; //forward declaration
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CSendProgress dialog
  24. class CSendProgress : public CDialog
  25. {
  26. friend class CMultDevices;
  27. // Construction
  28. public:
  29. CSendProgress(LPTSTR lpszFileList = NULL, int iCharCount = 0, CWnd* pParent = NULL); // standard constructor
  30. void SetCurrentFileName (wchar_t * pwszCurrFile);
  31. DWORD m_dwMagicID;
  32. // Dialog Data
  33. //{{AFX_DATA(CSendProgress)
  34. enum { IDD = IDD_SEND_PROGRESS };
  35. CStatic m_xferPercentage;
  36. CStatic m_connectedTo;
  37. CProgressCtrl m_transferProgress;
  38. CAnimateCtrl m_transferAnim;
  39. CStatic m_fileName;
  40. CButton m_btnCancel;
  41. CStatic m_sndTitle;
  42. //}}AFX_DATA
  43. // Overrides
  44. // ClassWizard generated virtual function overrides
  45. //{{AFX_VIRTUAL(CSendProgress)
  46. protected:
  47. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  48. virtual void PostNcDestroy();
  49. //}}AFX_VIRTUAL
  50. // Implementation
  51. protected:
  52. // Generated message map functions
  53. //{{AFX_MSG(CSendProgress)
  54. virtual BOOL OnInitDialog();
  55. virtual void OnCancel();
  56. virtual BOOL DestroyWindow();
  57. afx_msg BOOL OnCopyData(CWnd* pWnd, COPYDATASTRUCT* pCopyDataStruct);
  58. afx_msg void OnUpdateProgress (WPARAM wParam, LPARAM lParam);
  59. afx_msg void OnSendComplete (WPARAM wParam, LPARAM lParam);
  60. afx_msg void OnTimer (UINT nTimerID);
  61. //}}AFX_MSG
  62. DECLARE_MESSAGE_MAP()
  63. private: //data
  64. TCHAR m_lpszSelectedDeviceName[50];
  65. int m_iCharCount;
  66. TCHAR* m_lpszFileList;
  67. LONG m_lSelectedDeviceID;
  68. BOOL m_fSendDone;
  69. BOOL m_fTimerExpired;
  70. BOOL m_fCancelled;
  71. ITaskbarList * m_ptl;
  72. };
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  75. #endif // !defined(AFX_SENDPROGRESS_H__90D62E7B_AEEC_11D1_A60A_00C04FC252BD__INCLUDED_)