Add a handler on the child dialog for WM_SHOWWINDOW....and do this
Originally posted by -KEN-
How can I make a modeless dialog box in MFC that isn't so tied into the parent? I more or less want the dialog to be completely independant of its parent (although it'd send messages back still). Right now I'm using
note = new Note();
but when you minimize the original dialog, the new one goes too.
void Note::OnShowWindow(BOOL bShow, UINT nStatus)
if(nStatus != SW_PARENTCLOSING)