Skip to content

Commit

Permalink
Update PartialGroupBox.cpp
Browse files Browse the repository at this point in the history
Remove punctuation, fix title case
  • Loading branch information
DerekTurtleRoe committed Mar 18, 2021
1 parent c417a1e commit be699d3
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -5,7 +5,7 @@ BOOL CPartialGroupBox::Attach(HWND hWnd)
ATLASSUME(m_hWnd == NULL);
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);
if (result == FALSE)
Expand Down Expand Up @@ -43,7 +43,7 @@ void CPartialGroupBox::OnPaint(HDC /*hDC*/)
{
CPaintDC dc(m_hWnd);

//paint groupbox manually
// Paint group box manually
CRect controlrect;
GetClientRect(controlrect);
//::MapWindowPoints(HWND_DESKTOP, GetParent(), (LPPOINT)(LPRECT)controlrect, (sizeof(RECT)/sizeof(POINT)));
Expand Down Expand Up @@ -102,7 +102,7 @@ void CPartialGroupBox::OnPaint(HDC /*hDC*/)
dc.FillRect(fontrect, GetSysColor(COLOR_BTNFACE));
fontrect.DeflateRect(2, 0);

//Draw Caption
// Draw caption
dc.SetBkMode(OPAQUE);
dc.SetBkColor(GetSysColor(COLOR_BTNFACE));

Expand Down

0 comments on commit be699d3

Please sign in to comment.