mfc modal / modeless dialog and minimize / restore problem
Posted on 2008-10-28
so here's my problem in short:
i use AfxGetMainWnd->EnableWindow(FALSE) from within a modeless dialog, which makes it actually look modal (and that is really appreciated and good working)
I like the minimize feature, because it is comfortable to the user having the application working in background.
problem: In minimized state, the system menu is unavailable, because i used "EnableWindow(FALSE)"
I'm searching for a solution to make the modeless dialog have its modal behaviour again, and also the ability to get minimized and restored.
Anyone has an idea ? Thanks