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.

68 lines
2.0 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORPORATION, 1998
  4. *
  5. * TITLE: COMFIRST.H
  6. *
  7. * VERSION: 1.0
  8. *
  9. * AUTHOR: ShaunIv
  10. *
  11. * DATE: 9/28/1999
  12. *
  13. * DESCRIPTION: First wizard page for cameras
  14. *
  15. *******************************************************************************/
  16. #ifndef __COMFIRST_H_INCLUDED
  17. #define __COMFIRST_H_INCLUDED
  18. #include <windows.h>
  19. #include "acqmgrcw.h"
  20. class CCommonFirstPage
  21. {
  22. private:
  23. // Private data
  24. HWND m_hWnd;
  25. CAcquisitionManagerControllerWindow *m_pControllerWindow;
  26. bool m_bThumbnailsRequested; // Used to initiate thumbnail download
  27. HFONT m_hBigTitleFont;
  28. HFONT m_hBigDeviceFont;
  29. UINT m_nWiaEventMessage;
  30. private:
  31. // No implementation
  32. CCommonFirstPage(void);
  33. CCommonFirstPage( const CCommonFirstPage & );
  34. CCommonFirstPage &operator=( const CCommonFirstPage & );
  35. private:
  36. // Constructor and destructor
  37. explicit CCommonFirstPage( HWND hWnd );
  38. ~CCommonFirstPage(void);
  39. private:
  40. void HandleImageCountChange( bool bUpdateWizButtons );
  41. private:
  42. // WM_NOTIFY handlers
  43. LRESULT OnWizNext( WPARAM, LPARAM );
  44. LRESULT OnSetActive( WPARAM, LPARAM );
  45. // Message handlers
  46. LRESULT OnInitDialog( WPARAM, LPARAM );
  47. LRESULT OnShowWindow( WPARAM, LPARAM );
  48. LRESULT OnNotify( WPARAM, LPARAM );
  49. LRESULT OnDestroy( WPARAM, LPARAM );
  50. LRESULT OnThreadNotification( WPARAM, LPARAM );
  51. LRESULT OnEventNotification( WPARAM, LPARAM );
  52. LRESULT OnActivate( WPARAM, LPARAM );
  53. LRESULT OnSysColorChange( WPARAM, LPARAM );
  54. LRESULT OnHyperlinkClick( WPARAM, LPARAM );
  55. public:
  56. static INT_PTR CALLBACK DialogProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam );
  57. };
  58. #endif __COMFIRST_H_INCLUDED