Advertisement

06.30.2008 at 08:29PM PDT, ID: 23529036
[x]
Attachment Details

CPropertySheet, CDialog::DoModal() hangs after click.

Asked by LearningCpp in Windows MFC Programming

Tags: ,

Hi,
I have, in my application.
MainWindow -> it has Tab controls (displayed with the help of CPropertySheet and CPropertyPage).
One of the PropertySheet has a button "New" on click of which I have another dialog displayed with the help of DoModal().
On this New Dialog, Again I have a tab control which is displayed witht the help of Propsheet and PropPage, on this property page there is a button "Add", on which onClick I have called:

MyAddDialog Dlg;
Dlg.DoModal()  // <- This domodal function doesnt work, neither does it give me any error or assert.

Is it not possible to have mainwindow->click to get modal window->click to get another modal window???

your help is appreciated.
Thanks
Start Free Trial
[+][-]07.01.2008 at 04:21AM PDT, ID: 21906489

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.01.2008 at 11:40AM PDT, ID: 21910352

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Windows MFC Programming
Tags: Microsoft, MFC, C++
Sign Up Now!
Solution Provided By: LearningCpp
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628