Focus on Modal Dialog (MFC)
I create modal dialog like this :
CDialog dlg;
dlg.DoModal();
but when window opens I can access background windows of my program (move
them and close them) but I need focus only on my curent window. (I think
modal dialog shouldn't behave like this)
How can I do this?
No comments:
Post a Comment