1.WS_CLIPCHILDREN
ModifyStyle(0,WS_CLIPCHILDREN);
2.ON_ERASEBKGND:
if(m_pGraph)
{
CRect rc;
GetClientRect(&rc);
rc.bottom-=panelHeight;
pDC->ExcludeClipRect(&rc); //若有在播放则不擦除绘制该区域
}
return CDialog::OnEraseBkgnd(pDC);
if(m_pGraph)
{
CRect rc;
GetClientRect(&rc);
rc.bottom-=panelHeight;
pDC->ExcludeClipRect(&rc); //若有在播放则不擦除绘制该区域
}
return CDialog::OnEraseBkgnd(pDC);