Programming 版 (精华区)
发信人: compus (蓝天), 信区: programming
标 题: Maxmize MDI child
发信站: 紫 丁 香 (Sun Aug 10 12:43:30 1997)
void CMainFrame::ActivateFrame(int nCmdShow)
{
if (!m_bActivated)
{
m_bActivated = TRUE;
nCmdShow = SW_SHOWMAXIMIZED;
}
CFrameWnd::ActivateFrame(nCmdShow);
}
where m_bActivated is a member variable of your frame object.
--
********天若有情天亦老,人间正道是沧桑*******
※ 来源:.紫 丁 香 pclinux.[FROM: 202.118.235.6]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.430毫秒