// JP opened flex table

Click to See Complete Forum and Search --> : multithreading


seen
March 8th, 2004, 06:44 AM
hi gurus,

i'm working on a dialog box app. i've created a separate instance of a modal dialog that i want to run alongside the underlying process...only, there's one glitch.

when i create the 2nd modal dialog, it just freezes. nothing happens to it while the underlying process is still pushing forward. i want to be able to run both at the same time. can anyone tell me how to do this? thx in advance..

Alin
March 8th, 2004, 07:02 AM
be more specific, or post a running sample project

j0nas
March 8th, 2004, 07:05 AM
I think you need to provide some code or be more specific (maybe both). Info such as:
- Are you uisng MFC (CDialog)
- Which thread function did you use to spawn off threads
- Tell us why modeless dialog boxes won't work in your case
are good thinks to know.

Andreas Masur
March 8th, 2004, 07:15 AM
[Moved thread]

seen
March 8th, 2004, 03:20 PM
hmm alright...well basically what this app does is connect to an sql database and fill out the proper tables as referenced by an imported local file. that's the main process...however, the local file can get really big, so i wanted to implement a modeless dialog that tells the user the process is running, rather than to have it running and looking like the app froze in the meantime. so what i did was this:

CImport *pImport = new CImport();

pImport->Create(IDD_MY_DIALOG);
pImport->ShowWindow(SW_SHOW);
pImport->m_text = "blah blah blah";

i have some extra code which updates the modeless dialog text as the file is being imported. does anyone know what's wrong with this? thx...

//JP added flex table