Ejemplo n.º 1
0
void CSizingControlBar::OnNcPaint() 
{
    EraseNonClient();

    CDC *pDC = GetWindowDC();
    pDC->Draw3dRect(m_rectBorder, GetSysColor(COLOR_BTNHIGHLIGHT),
                    GetSysColor(COLOR_BTNSHADOW));
    ReleaseDC(pDC);
}
Ejemplo n.º 2
0
void CCJToolBar::OnNcPaint() 
{
	CControlBar::EraseNonClient();
	CWindowDC dc(this);
	
	CRect pRect;
	GetClientRect( &pRect );
	InvalidateRect( &pRect, TRUE );
	EraseNonClient(FALSE);
	
	// Do not call CMyToolBar::OnNcPaint() for painting messages
}
Ejemplo n.º 3
0
void CCoolDialogBar::OnNcPaint() 
{
    EraseNonClient();

	CWindowDC dc(this);
    dc.Draw3dRect(m_rectBorder, GetSysColor(COLOR_BTNHIGHLIGHT),
                    GetSysColor(COLOR_BTNSHADOW));

	DrawGripper(dc);
	
	CRect pRect;
	GetClientRect( &pRect );
	InvalidateRect( &pRect, TRUE );
}
Ejemplo n.º 4
0
void CStatusBar::OnNcPaint()
/**************************/
{
    EraseNonClient();
}
Ejemplo n.º 5
0
void CCJSizeDockBar::OnNcPaint() 
{
	EraseNonClient();
}
Ejemplo n.º 6
0
void COXSizeControlBar::OnNcPaint() 
{
	EraseNonClient();
}
void CWinXPToolbar::OnNcPaint()
{
	EraseNonClient();
}
Ejemplo n.º 8
0
//-----------------------------------------------------------------------------
void CDynamicHelp::OnNcPaint()
{
	EraseNonClient();
}
Ejemplo n.º 9
0
void CSizableReBar::OnNcPaint()
{
    EraseNonClient();
	CWindowDC dc( this );
}
Ejemplo n.º 10
0
void CSizableReBar::OnNcPaint()
{
    EraseNonClient();
}
Ejemplo n.º 11
0
/**
 * @brief Called when non-client area is to be drawn.
 */
void ToolBarXPThemes::OnNcPaint()
{
	EraseNonClient();
}