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!

NoModal windows!!!

Status
Not open for further replies.

ceodav

Programmer
Feb 21, 2003
106
0
0
IT
hi,
i'm developing an application which is using a dialogbox with a progressbar.
When the program is being executing i want to display the progress bar.
the proble is this: how do i have to open the dialogbox?
if i write

CWorkInProgress ActivateDlg;

ActivateDlg.DoModal();

the program stops because the dialog is in modal state, so it's been waiting for an action.

I want the focus on the dialog but i want the program continues working as well!

thanks for any help....

 
do not create the dialog as a modal one :)
look up CDialog's Create method in MSDN for a way to do it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top