2012-12-19 09:30:18 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
2015-11-10 05:21:49 +00:00
|
|
|
* Project64 - A Nintendo 64 emulator. *
|
2012-12-19 09:30:18 +00:00
|
|
|
* http://www.pj64-emu.com/ *
|
|
|
|
* Copyright (C) 2012 Project64. All rights reserved. *
|
|
|
|
* *
|
|
|
|
* License: *
|
|
|
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
2008-11-14 20:51:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CPartialGroupBox :
|
|
|
|
public CWindowImpl<CPartialGroupBox, CButton>
|
|
|
|
{
|
|
|
|
void Draw3dLine(CPaintDC & dc, LPCRECT lpRect, COLORREF clrTopLeft, COLORREF clrBottomRight);
|
|
|
|
|
|
|
|
public:
|
|
|
|
BEGIN_MSG_MAP_EX(CPartialGroupBox)
|
|
|
|
MSG_WM_PAINT(OnPaint)
|
|
|
|
END_MSG_MAP()
|
|
|
|
|
|
|
|
// Constructors
|
|
|
|
CPartialGroupBox()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual ~CPartialGroupBox()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL Attach(HWND hWndNew);
|
|
|
|
BOOL AttachToDlgItem(HWND parent, UINT dlgID);
|
|
|
|
void OnPaint(HDC hDC);
|
|
|
|
};
|