zhpch
asked on
How to make a CMDIChildWnd pop-up?
My application has one doc and two views. One view is used to display picture in normal size and the other view is used to display the same but zoomed picture. I hope the latter view can keep TOPMOST. But since the CMDIChildWnd cann't have a WS_POPUP style, how should I do? Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
mikeblas: Hmmm. What I did works, but OK.
works != correct
BOOL CTopFrame::PreCreateWindow
{
if (!CMiniFrameWnd::PreCreate
return FALSE;
cs.dwExStyle |= WS_EX_TOPMOST;
return TRUE;
}
.B ekiM