Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 26th, 2004, 03:39 PM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with dialog...

In InitInstance() function im my aplication I have something like this:
while(x==0)
{
...
CMainSheet dlg;
...
dlg.DoModal();
...
}//end_while.

When I start aplication everything work fine and dialog appears, but in second execution of while loop dialog appears only for a moment and disappears immediately even the name of CMainSheet is changed.
Can enybody help me to solve this problem. Thanks!






Similar Threads
Thread Thread Starter Forum Replies Last Post
replace Word dialog with my designing dialog doublelucky Visual C++ 0 March 19th, 2007 02:27 AM
Dialog Problem -Urgent Help Needed jerusalem Visual C++ 0 January 6th, 2007 08:04 AM
Dialog Box problem r_taduri ASP.NET 2.0 Professional 0 October 29th, 2006 09:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.