CMainView::OnButton1(){
......
GetDocument()->UpdateAllViews(this,1,this);
}
CChatView::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint){
switch(lHint){
case 0:
CView::OnUpdate(pSender,lHint,pHint);break;
case 1:
{
CMainView* pMainView=(CMainView* )pHint;
......
}
break;
}}
......
GetDocument()->UpdateAllViews(this,1,this);
}
CChatView::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint){
switch(lHint){
case 0:
CView::OnUpdate(pSender,lHint,pHint);break;
case 1:
{
CMainView* pMainView=(CMainView* )pHint;
......
}
break;
}}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货