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.

44 lines
709 B

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. snapbar.h
  5. Abstract:
  6. <abstract>
  7. --*/
  8. #ifndef _SNAPBAR_H_
  9. #define _SNAPBAR_H_
  10. class CSysmonControl;
  11. class CSnapBar
  12. {
  13. friend LRESULT CALLBACK SnapBarWndProc (HWND, UINT, WPARAM, LPARAM);
  14. private:
  15. CSysmonControl *m_pCtrl;
  16. HBITMAP m_hBitmap;
  17. HWND m_hWnd;
  18. WNDPROC m_WndProc;
  19. public:
  20. CSnapBar (void);
  21. ~CSnapBar (void);
  22. BOOL Init(CSysmonControl *pCtrl, HWND hWndParent);
  23. VOID SizeComponents(LPRECT pRect);
  24. INT Height (INT iMaxHeight);
  25. };
  26. typedef CSnapBar *PSNAPBAR;
  27. #endif // _SNAPBAR_H_