mirror of https://github.com/tongzx/nt5src
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
665 B
44 lines
665 B
/*++
|
|
|
|
Copyright (C) 1996-1999 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
snapbar.h
|
|
|
|
Abstract:
|
|
|
|
<abstract>
|
|
|
|
--*/
|
|
|
|
#ifndef _SNAPBAR_H_
|
|
#define _SNAPBAR_H_
|
|
|
|
class CSysmonControl;
|
|
|
|
class CSnapBar
|
|
{
|
|
friend LRESULT CALLBACK SnapBarWndProc (HWND, UINT, WPARAM, LPARAM);
|
|
|
|
private:
|
|
CSysmonControl *m_pCtrl;
|
|
HBITMAP m_hBitmap;
|
|
HWND m_hWnd;
|
|
WNDPROC m_WndProc;
|
|
|
|
public:
|
|
CSnapBar (void);
|
|
~CSnapBar (void);
|
|
|
|
BOOL Init(CSysmonControl *pCtrl, HWND hWndParent);
|
|
VOID SizeComponents(LPRECT pRect);
|
|
INT Height (INT iMaxHeight);
|
|
};
|
|
|
|
typedef CSnapBar *PSNAPBAR;
|
|
|
|
#endif // _SNAPBAR_H_
|
|
|
|
|
|
|