case idc_button1: //当鼠标移动到button 按钮上面的时候
{
if(this->count ==1)
{
m_status.setpanetext(1,"你好,中国人");
break;
}
}
default:
{
m_status.setpanetext(0,"也没有数据");
m_status.setpanetext(1,"现在没有数据");
break;
}
}
}
}
}
//-------------------------------------------
return cdialog::onsetcursor(pwnd, nhittest, message);
}
//button 控制
void cmydlg::onbutton1()
{
this->count =1;
}