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.

67 lines
1.9 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORPORATION, 1998
  4. *
  5. * TITLE: COMFIN.H
  6. *
  7. * VERSION: 1.0
  8. *
  9. * AUTHOR: ShaunIv
  10. *
  11. * DATE: 9/28/1999
  12. *
  13. * DESCRIPTION: Transfer page. Gets the destination path and filename.
  14. *
  15. *******************************************************************************/
  16. #ifndef __COMFIN_H_INCLUDED
  17. #define __COMFIN_H_INCLUDED
  18. #include <windows.h>
  19. #include "acqmgrcw.h"
  20. class CCommonFinishPage
  21. {
  22. private:
  23. // Private data
  24. HWND m_hWnd;
  25. CAcquisitionManagerControllerWindow *m_pControllerWindow;
  26. HFONT m_hBigTitleFont;
  27. UINT m_nWiaEventMessage;
  28. CSimpleString m_strSiteUrl;
  29. private:
  30. // No implementation
  31. CCommonFinishPage(void);
  32. CCommonFinishPage( const CCommonFinishPage & );
  33. CCommonFinishPage &operator=( const CCommonFinishPage & );
  34. private:
  35. // Constructor and destructor
  36. explicit CCommonFinishPage( HWND hWnd );
  37. ~CCommonFinishPage(void);
  38. void OpenLocalStorage();
  39. void OpenRemoteStorage();
  40. HRESULT GetManifestInfo( IXMLDOMDocument *pXMLDOMDocumentManifest, CSimpleString &strSiteName, CSimpleString &strSiteURL );
  41. private:
  42. LRESULT OnEventNotification( WPARAM, LPARAM );
  43. // WM_NOTIFY handlers
  44. LRESULT OnWizBack( WPARAM, LPARAM );
  45. LRESULT OnWizFinish( WPARAM, LPARAM );
  46. LRESULT OnSetActive( WPARAM, LPARAM );
  47. LRESULT OnHyperlinkClick( WPARAM, LPARAM );
  48. // Message handlers
  49. LRESULT OnInitDialog( WPARAM, LPARAM );
  50. LRESULT OnCommand( WPARAM, LPARAM );
  51. LRESULT OnNotify( WPARAM, LPARAM );
  52. LRESULT OnDestroy( WPARAM, LPARAM );
  53. LRESULT OnThreadNotification( WPARAM, LPARAM );
  54. public:
  55. static INT_PTR CALLBACK DialogProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam );
  56. };
  57. #endif __COMFIN_H_INCLUDED