Update PartialGroupBox.cpp

Remove punctuation, fix title case
This commit is contained in:
Derek "Turtle" Roe 2021-03-17 04:27:46 -05:00
parent c417a1e439
commit be699d3986
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ BOOL CPartialGroupBox::Attach(HWND hWnd)
ATLASSUME(m_hWnd == NULL); ATLASSUME(m_hWnd == NULL);
ATLASSERT(::IsWindow(hWnd)); ATLASSERT(::IsWindow(hWnd));
// Allocate the thunk structure here, where we can fail gracefully. // Allocate the thunk structure here, where we can fail gracefully
BOOL result = m_thunk.Init(GetWindowProc(), this); BOOL result = m_thunk.Init(GetWindowProc(), this);
if (result == FALSE) if (result == FALSE)
@ -43,7 +43,7 @@ void CPartialGroupBox::OnPaint(HDC /*hDC*/)
{ {
CPaintDC dc(m_hWnd); CPaintDC dc(m_hWnd);
//paint groupbox manually // Paint group box manually
CRect controlrect; CRect controlrect;
GetClientRect(controlrect); GetClientRect(controlrect);
//::MapWindowPoints(HWND_DESKTOP, GetParent(), (LPPOINT)(LPRECT)controlrect, (sizeof(RECT)/sizeof(POINT))); //::MapWindowPoints(HWND_DESKTOP, GetParent(), (LPPOINT)(LPRECT)controlrect, (sizeof(RECT)/sizeof(POINT)));
@ -102,7 +102,7 @@ void CPartialGroupBox::OnPaint(HDC /*hDC*/)
dc.FillRect(fontrect, GetSysColor(COLOR_BTNFACE)); dc.FillRect(fontrect, GetSysColor(COLOR_BTNFACE));
fontrect.DeflateRect(2, 0); fontrect.DeflateRect(2, 0);
//Draw Caption // Draw caption
dc.SetBkMode(OPAQUE); dc.SetBkMode(OPAQUE);
dc.SetBkColor(GetSysColor(COLOR_BTNFACE)); dc.SetBkColor(GetSysColor(COLOR_BTNFACE));