2个回答
展开全部
我按你说的方式写了个程序,没什么问题啊,并且能打开新浪的首页:
if( m_ppopdlgnoone == null )
{
m_ppopdlgnoone = new mynoone;
bool iscreate = m_ppopdlgnoone->create(idd_dialog_my1,getdesktopwindow());
}
if (m_ppopdlgnoone->m_hwnd != null )
{
m_ppopdlgnoone->showwindow(sw_normal);
}else
{
::afxmessagebox(_t("error."));
}
if( m_pmxsdlgtwo == null )
{
m_pmxsdlgtwo = new cdlgmxs2;
bool iscreate = m_pmxsdlgtwo->create(idd_dialog_mxs2,getdesktopwindow());
}
if (m_pmxsdlgtwo->m_hwnd != null )
{
m_pmxsdlgtwo->showwindow(sw_normal);
}else
{
::afxmessagebox(_t("error."));
}
if( m_ppopdlgnoone == null )
{
m_ppopdlgnoone = new mynoone;
bool iscreate = m_ppopdlgnoone->create(idd_dialog_my1,getdesktopwindow());
}
if (m_ppopdlgnoone->m_hwnd != null )
{
m_ppopdlgnoone->showwindow(sw_normal);
}else
{
::afxmessagebox(_t("error."));
}
if( m_pmxsdlgtwo == null )
{
m_pmxsdlgtwo = new cdlgmxs2;
bool iscreate = m_pmxsdlgtwo->create(idd_dialog_mxs2,getdesktopwindow());
}
if (m_pmxsdlgtwo->m_hwnd != null )
{
m_pmxsdlgtwo->showwindow(sw_normal);
}else
{
::afxmessagebox(_t("error."));
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询