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.

46 lines
1.2 KiB

  1. //-----------------------------------------------------------------------------
  2. // File: viewselwnd.h
  3. //
  4. // Desc: Implements CViewSelWnd class (derived from CFlexWnd). CViewSelWnd
  5. // is used by the page object when a device has more than one view.
  6. // CViewSelWnd displays one thumbnail for each view. The user can then
  7. // select which view he/she wants to see with the mouse.
  8. //
  9. // Copyright (C) 1999-2000 Microsoft Corporation. All Rights Reserved.
  10. //-----------------------------------------------------------------------------
  11. #ifdef FORWARD_DECLS
  12. class CViewSelWnd;
  13. #else // FORWARD_DECLS
  14. #ifndef __VIEWSELWND_H__
  15. #define __VIEWSELWND_H__
  16. class CViewSelWnd : public CFlexWnd
  17. {
  18. public:
  19. CViewSelWnd();
  20. ~CViewSelWnd();
  21. BOOL Go(HWND hParent, int left, int bottom, CDeviceUI *pUI);
  22. protected:
  23. virtual void OnPaint(HDC hDC);
  24. virtual void OnMouseOver(POINT point, WPARAM fwKeys);
  25. virtual void OnClick(POINT point, WPARAM fwKeys, BOOL bLeft);
  26. virtual LRESULT WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
  27. private:
  28. CDeviceUI *m_pUI;
  29. int m_nOver;
  30. };
  31. #endif //__VIEWSELWND_H__
  32. #endif // FORWARD_DECLS