开发者

Able to take controls in parent window even after launch of another dialog using DoModal

I have an application which is created using MFC and I have created a MFC dll on click of a button the exe will call the dll which in turn will launch a dll using dialogClass.DoModal(). My Problem is even after this dialog开发者_运维知识库 I am able to access my parent application. which I should not be able to access. Is there any setting for this . Can somebody help me on this


Sounds like you have created a modal-less dialog. If you create the same dialog as a modal pop-up dialog, then you should get the behaviour you have described.

This link should give you the information you are looking for: Using Dialog boxes

Other links that might be useful are:

  1. Dialog box styles
  2. Window styles
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜