making a modelessdialog box as modal
-
Hi, I have an MDI application.I create an a Modeless dialog on a menu click.I would like to make it behave like a Modal dialog box. How should I do that? Thanks Satya
Today is a gift, that's why it is called the present.
-
Hi, I have an MDI application.I create an a Modeless dialog on a menu click.I would like to make it behave like a Modal dialog box. How should I do that? Thanks Satya
Today is a gift, that's why it is called the present.
You can try disabling the parent of the dialog by using EnableWindow(FALSE).
-
Hi, I have an MDI application.I create an a Modeless dialog on a menu click.I would like to make it behave like a Modal dialog box. How should I do that? Thanks Satya
Today is a gift, that's why it is called the present.
This link explains all about modal dialog boxes:- http://msdn.microsoft.com/en-us/library/ms644996(VS.85).aspx#modal_box[^] :)
Ali
-
Hi, I have an MDI application.I create an a Modeless dialog on a menu click.I would like to make it behave like a Modal dialog box. How should I do that? Thanks Satya
Today is a gift, that's why it is called the present.
Just call DoModal [^] member function of the dialog in the, menu message handler.
-
You can try disabling the parent of the dialog by using EnableWindow(FALSE).
Hi, Thanks for the reply. But I also dont want my mainframe window to receive messages.I want the exact behaviour of DoModal. Thanks Satya
Today is a gift, that's why it is called the present.
-
Hi, Thanks for the reply. But I also dont want my mainframe window to receive messages.I want the exact behaviour of DoModal. Thanks Satya
Today is a gift, that's why it is called the present.
narayanagvs wrote:
I want the exact behaviour of DoModal.
Sorry, I don't understand. If you want 'the exact behaviour of DoModal' then why do you create a Modeless dialog? :confused: :)
Ali
-
narayanagvs wrote:
I want the exact behaviour of DoModal.
Sorry, I don't understand. If you want 'the exact behaviour of DoModal' then why do you create a Modeless dialog? :confused: :)
Ali
I just want to know. This is a question asked to me. Satya
Today is a gift, that's why it is called the present.
-
I just want to know. This is a question asked to me. Satya
Today is a gift, that's why it is called the present.
OK, thanks for answering, I don't think I can help you, I hope someone else can. :)
Ali
-
Hi, I have an MDI application.I create an a Modeless dialog on a menu click.I would like to make it behave like a Modal dialog box. How should I do that? Thanks Satya
Today is a gift, that's why it is called the present.