Fix to the title bar drawing code so that the Win98 gradient fill is used.
git-svn-id: svn://10.0.0.236/trunk@10949 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -433,7 +433,7 @@ void CGenericFrame::OnNcPaint()
|
||||
CString strTitle;
|
||||
GetWindowText( strTitle );
|
||||
|
||||
dc.FillRect(&rectCaption, &brCaption);
|
||||
//dc.FillRect(&rectCaption, &brCaption);
|
||||
dc.SetTextColor(::GetSysColor(m_bActive ? COLOR_CAPTIONTEXT : COLOR_INACTIVECAPTIONTEXT));
|
||||
dc.SetBkMode(TRANSPARENT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user