void CDialogBar::OnPaint()
{
CWnd* pp=AfxGetApp()->GetMainWnd ();
if (pp->IsIconic())
{
MessageBox("!"); //是不是应该在这里改呀???可是响应不到
}
else
{
CDC *pWindowDC=GetWindowDC();
if(pWindowDC)
{
DrawContent(pWindowDC,m_ListRect,CategoryType);
ReleaseDC(pWindowDC);
}
baseCMyBar::OnPaint();
}
}
{
CWnd* pp=AfxGetApp()->GetMainWnd ();
if (pp->IsIconic())
{
MessageBox("!"); //是不是应该在这里改呀???可是响应不到
}
else
{
CDC *pWindowDC=GetWindowDC();
if(pWindowDC)
{
DrawContent(pWindowDC,m_ListRect,CategoryType);
ReleaseDC(pWindowDC);
}
baseCMyBar::OnPaint();
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货