windows-nt/Source/XPSP1/NT/admin/controls/smonctrl/snapbar.h
2020-09-26 16:20:57 +08:00

45 lines
665 B
C++

/*++
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_