Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a modless dialog in document based application doesn't work

Status
Not open for further replies.

jitu11875

Technical User
Nov 3, 2000
22
0
0
US
Hi,
I have a typical problem. From a document based application, I invoke a dialog and from on clicking a button I try involking another modless dialog. Application gives no error but the dialog is not shown
If any one has tried it please let me know where I am missing

regards,
Jitendar
 
I think you will find that the parentage of the DLG is wrong. Try using AfxGetMainWnd() to get the main parent window and use this for the second DLG.

William
Software Engineer
ICQ No. 56047340
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top