Click here to Skip to main content
15,889,992 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Name of this DesignPattern Pin
Richard MacCutchan12-Aug-13 5:27
mveRichard MacCutchan12-Aug-13 5:27 
AnswerRe: Name of this DesignPattern Pin
pasztorpisti12-Aug-13 6:29
pasztorpisti12-Aug-13 6:29 
AnswerRe: Name of this DesignPattern Pin
jschell12-Aug-13 8:08
jschell12-Aug-13 8:08 
QuestionQT C1128: number of sections exceeded object file format limit : compile with /bigobj Pin
onur dalkilic11-Aug-13 22:13
onur dalkilic11-Aug-13 22:13 
AnswerRe: QT C1128: number of sections exceeded object file format limit : compile with /bigobj Pin
«_Superman_»11-Aug-13 22:31
professional«_Superman_»11-Aug-13 22:31 
AnswerRe: QT C1128: number of sections exceeded object file format limit : compile with /bigobj Pin
Stephen Hewitt12-Aug-13 16:15
Stephen Hewitt12-Aug-13 16:15 
Questionusing scardAPI how to get DeviceInstanceId Pin
xiliang_pan11-Aug-13 3:40
xiliang_pan11-Aug-13 3:40 
QuestionHow to use an event object for synchronization.? Pin
mbatra319-Aug-13 23:42
mbatra319-Aug-13 23:42 
Hi,

I want to use event object for synchronization between dialogs.
I am performing an operation to run a command from the command line. Now while the command is running I am displaying a dialog without Ok and Cancel buttons, to show the progress of the operation. Now I want to display a message to the user on completion of the operation. I want to use an event object for the same.
How to synchronize both operation. When operation is going on, user should be displayed with the dialog and when the operation completes, it should end the dialog and display a message to the user.

Can anybody help me with any sample code how to do the same.

Any help will be appreciated.



Regards,
Mbatra
AnswerRe: How to use an event object for synchronization.? Pin
Richard Andrew x6410-Aug-13 5:39
professionalRichard Andrew x6410-Aug-13 5:39 
AnswerRe: How to use an event object for synchronization.? Pin
pasztorpisti10-Aug-13 10:13
pasztorpisti10-Aug-13 10:13 
GeneralRe: How to use an event object for synchronization.? Pin
mbatra3111-Aug-13 21:18
mbatra3111-Aug-13 21:18 
GeneralRe: How to use an event object for synchronization.? Pin
pasztorpisti12-Aug-13 5:42
pasztorpisti12-Aug-13 5:42 
GeneralRe: How to use an event object for synchronization.? Pin
Erudite_Eric16-Aug-13 1:30
Erudite_Eric16-Aug-13 1:30 
GeneralRe: How to use an event object for synchronization.? Pin
pasztorpisti16-Aug-13 1:53
pasztorpisti16-Aug-13 1:53 
AnswerRe: How to use an event object for synchronization.? Pin
Krishnakumartg12-Aug-13 6:15
Krishnakumartg12-Aug-13 6:15 
AnswerRe: How to use an event object for synchronization.? Pin
Erudite_Eric16-Aug-13 1:32
Erudite_Eric16-Aug-13 1:32 
GeneralRe: How to use an event object for synchronization.? Pin
pasztorpisti16-Aug-13 1:52
pasztorpisti16-Aug-13 1:52 
GeneralRe: How to use an event object for synchronization.? Pin
Erudite_Eric16-Aug-13 23:02
Erudite_Eric16-Aug-13 23:02 
GeneralRe: How to use an event object for synchronization.? Pin
pasztorpisti17-Aug-13 1:31
pasztorpisti17-Aug-13 1:31 
GeneralRe: How to use an event object for synchronization.? Pin
mbatra3126-Dec-13 19:35
mbatra3126-Dec-13 19:35 
GeneralRe: How to use an event object for synchronization.? Pin
mbatra3126-Dec-13 19:34
mbatra3126-Dec-13 19:34 
QuestionCButton and CListCtrl two controls how self drawing Pin
ztwisdom9-Aug-13 16:17
ztwisdom9-Aug-13 16:17 
SuggestionRe: CButton and CListCtrl two controls how self drawing Pin
Richard MacCutchan9-Aug-13 23:28
mveRichard MacCutchan9-Aug-13 23:28 
AnswerRe: CButton and CListCtrl two controls how self drawing Pin
Krishnakumartg12-Aug-13 6:17
Krishnakumartg12-Aug-13 6:17 
QuestionChanging Treeview control apperance Pin
Member 78617636-Aug-13 22:58
Member 78617636-Aug-13 22:58 

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.