Hi,
how do you create a new view minimized (iconized)?
thanks.
Printable View
Hi,
how do you create a new view minimized (iconized)?
thanks.
Use SW_SHOWMINIMIZED like this for example
.
void CDrawView::OnInitialUpdate() //to open views parent frame minimized
{
CView::OnInitialUpdate();
GetParentFrame()->ShowWindow(SW_SHOWMINIMIZED);
}
luck
cs.style = WS_CHILD | WS_VISIBLE | WS_OVERLAPPEDWINDOW|WS_MINIMIZE;
Include this piece of code in the PrecreateWindow
of ur child view class.