BOOL CInput::OnInitDialog()
{
CDialog::OnInitDialog();
........
/*
* 设置窗口为顶层窗口
*/
this->SetWindowPos(&wndTopMost,0,0,0,0,SWP_NOSIZE|SWP_NOMOVE);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
MFC 设置对话框在顶层窗口
猜你喜欢
转载自blog.csdn.net/yangkunhenry/article/details/102984597
今日推荐
周排行