Click here to Skip to main content
15,899,935 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFile operation and Undo Pin
_anil_9-Jul-06 16:18
_anil_9-Jul-06 16:18 
Questionbeam picture... Pin
sdhtyjnniutnbjnhbghb9-Jul-06 15:28
sdhtyjnniutnbjnhbghb9-Jul-06 15:28 
Questionpassing data between 2 dialogs Pin
locoone9-Jul-06 14:00
locoone9-Jul-06 14:00 
AnswerRe: passing data between 2 dialogs Pin
bob169729-Jul-06 16:44
bob169729-Jul-06 16:44 
GeneralRe: passing data between 2 dialogs Pin
locoone9-Jul-06 16:49
locoone9-Jul-06 16:49 
GeneralRe: passing data between 2 dialogs Pin
bob169729-Jul-06 17:03
bob169729-Jul-06 17:03 
GeneralRe: passing data between 2 dialogs Pin
locoone9-Jul-06 17:20
locoone9-Jul-06 17:20 
GeneralRe: passing data between 2 dialogs Pin
bob169729-Jul-06 20:03
bob169729-Jul-06 20:03 
I apologize for the confusion.

I put together a demo dialog app that simulates processing 500 files with an artificial delay in the processing loop to demonstrate the worker thread and abort button on a seperate progress dialog box. The progress box is modal but it's GUI remains responsive because it spawns a worker thread to perform the simulated processing.

I'm guessing this is what you were after.

Important areas are at the bottom of the stdafx.h and in the message maps. I tried to comment it well but you have to rememebr that it's just simulating some work in the worker thread loop so use your imagination a bit.

Anyway, I'll send you an email and if you feel the short demo will benefit you then just respond back via email and I'll zip and attach it to a reply mail. I wrote it in VC++ 6.0. I have VC++ 2003 if you for some reason can't get it to work. Just let me know if any problems and I'll convert it to 2003 and see what I need to change (if anything).
GeneralRe: passing data between 2 dialogs Pin
bob169729-Jul-06 20:27
bob169729-Jul-06 20:27 
QuestionHow To Recive WM_RBUTTONDOWN from Flash ActiveX control to Replace Macromedia menu in MFC dialoge App in VC++ 6 Pin
Haitham Khedre9-Jul-06 11:35
Haitham Khedre9-Jul-06 11:35 
AnswerRe: How To Recive WM_RBUTTONDOWN from Flash ActiveX control to Replace Macromedia menu in MFC dialoge App in VC++ 6 Pin
Mauro Leggieri9-Jul-06 16:13
Mauro Leggieri9-Jul-06 16:13 
QuestionRe: How To Recive WM_RBUTTONDOWN from Flash ActiveX control to Replace Macromedia menu in MFC dialoge App in VC++ 6 Pin
Haitham Khedre9-Jul-06 22:45
Haitham Khedre9-Jul-06 22:45 
AnswerRe: How To Recive WM_RBUTTONDOWN from Flash ActiveX control to Replace Macromedia menu in MFC dialoge App in VC++ 6 Pin
Naveen9-Jul-06 17:49
Naveen9-Jul-06 17:49 
QuestionRe: How To Recive WM_RBUTTONDOWN from Flash ActiveX control to Replace Macromedia menu in MFC dialoge App in VC++ 6 Pin
Haitham Khedre9-Jul-06 22:44
Haitham Khedre9-Jul-06 22:44 
AnswerRe: How To Recive WM_RBUTTONDOWN from Flash ActiveX control to Replace Macromedia menu in MFC dialoge App in VC++ 6 Pin
Naveen9-Jul-06 22:50
Naveen9-Jul-06 22:50 
QuestionDisassembly of Release Code Pin
LionAM9-Jul-06 11:17
LionAM9-Jul-06 11:17 
AnswerRe: Disassembly of Release Code Pin
Viorel.9-Jul-06 22:48
Viorel.9-Jul-06 22:48 
QuestionSetting Data Items Pin
BlitzPackage9-Jul-06 10:25
BlitzPackage9-Jul-06 10:25 
Questioncombo box question Pin
locoone9-Jul-06 9:13
locoone9-Jul-06 9:13 
AnswerRe: combo box question Pin
Ram Murali9-Jul-06 16:31
Ram Murali9-Jul-06 16:31 
GeneralRe: combo box question Pin
locoone9-Jul-06 16:34
locoone9-Jul-06 16:34 
GeneralRe: combo box question Pin
Ram Murali9-Jul-06 17:31
Ram Murali9-Jul-06 17:31 
GeneralRe: combo box question Pin
Naveen9-Jul-06 17:55
Naveen9-Jul-06 17:55 
GeneralRe: combo box question Pin
locoone9-Jul-06 17:58
locoone9-Jul-06 17:58 
GeneralRe: combo box question Pin
Naveen9-Jul-06 18:03
Naveen9-Jul-06 18:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.