tags:

views:

10

answers:

1

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

A: 

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
anand.arumug