windows-nt/Source/XPSP1/NT/admin/controls/smonctrl/snapbar.h

45 lines
665 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
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_