Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: time.h Pin
Antti Keskinen26-Nov-03 1:44
Antti Keskinen26-Nov-03 1:44 
GeneralWAP PAP Application Pin
Socket_Layer26-Nov-03 1:04
Socket_Layer26-Nov-03 1:04 
GeneralBeep in Windows 2000 Pin
cberam26-Nov-03 0:35
cberam26-Nov-03 0:35 
GeneralRe: Beep in Windows 2000 Pin
Johnny ²26-Nov-03 0:54
Johnny ²26-Nov-03 0:54 
GeneralSqlBindParameter problem Pin
pankajdaga25-Nov-03 23:33
pankajdaga25-Nov-03 23:33 
Generalshared memory Pin
Shanmuga Sundar25-Nov-03 22:56
Shanmuga Sundar25-Nov-03 22:56 
GeneralRe: shared memory Pin
Antti Keskinen26-Nov-03 1:46
Antti Keskinen26-Nov-03 1:46 
GeneralMessageBox in separate Thread Pin
Cedric Moonen25-Nov-03 22:42
Cedric Moonen25-Nov-03 22:42 
Hello all !!

I have a SDI application in wich I plot points on a chart (every 13 msec I plot a new point). I created also a separate Thread in wich I acquire the points and store them in a buffer (from the Doc class). I cannot plot the points directly from that Thread (some conflicts appears and I have runtime errors).
So, the points are plotted on the OnIddle() event from the App class. Up to here, everything works fine !!

BUT, sometimes I need to display a dialog box and so, the points are no more plotted behind. So, I was thinking about two solutions: create a separate thread just for displaying the box. But I think that's a little bit heavy Unsure | :~ . (This is different message box so I wanted to create a function to wich I send the message box and that will create the Thread).
The other solution was to use modeless dialog but there, the problem is that I need to take some specific actions when the dialog is closed...

So, can anybody give me some guidelines or some help ?
Thanks a lots
GeneralRe: MessageBox in separate Thread Pin
Antti Keskinen26-Nov-03 2:02
Antti Keskinen26-Nov-03 2:02 
GeneralRe: MessageBox in separate Thread Pin
Cedric Moonen26-Nov-03 2:10
Cedric Moonen26-Nov-03 2:10 
GeneralRe: MessageBox in separate Thread Pin
RChin26-Nov-03 3:48
RChin26-Nov-03 3:48 
GeneralRe: MessageBox in separate Thread Pin
Cedric Moonen26-Nov-03 3:56
Cedric Moonen26-Nov-03 3:56 
GeneralRe: MessageBox in separate Thread Pin
Antti Keskinen26-Nov-03 3:54
Antti Keskinen26-Nov-03 3:54 
QuestionHow To extract icon of the associated file? Pin
Prakash Nadar25-Nov-03 22:18
Prakash Nadar25-Nov-03 22:18 
AnswerRe: How To extract icon of the associated file? Pin
Ravi Bhavnani26-Nov-03 4:54
professionalRavi Bhavnani26-Nov-03 4:54 
AnswerRe: How To extract icon of the associated file? Pin
Peter Molnar26-Nov-03 13:30
Peter Molnar26-Nov-03 13:30 
Generalwindow.h Pin
styve25-Nov-03 21:54
styve25-Nov-03 21:54 
GeneralRe: window.h Pin
Prakash Nadar25-Nov-03 22:09
Prakash Nadar25-Nov-03 22:09 
GeneralRe: window.h Pin
ZoogieZork26-Nov-03 5:30
ZoogieZork26-Nov-03 5:30 
GeneralAppend files Pin
chadell25-Nov-03 21:43
chadell25-Nov-03 21:43 
GeneralRe: Append files Pin
Shanmuga Sundar25-Nov-03 22:52
Shanmuga Sundar25-Nov-03 22:52 
GeneralRe: Append files Pin
chadell25-Nov-03 23:01
chadell25-Nov-03 23:01 
GeneralStatic Libraries Pin
sweep12325-Nov-03 21:42
sweep12325-Nov-03 21:42 
QuestionVC++.NET: Microsoft ADO Data Control ? Pin
Maxwell Chen25-Nov-03 21:19
Maxwell Chen25-Nov-03 21:19 
AnswerRe: VC++.NET: Microsoft ADO Data Control ? Pin
DrSerge25-Nov-03 23:56
DrSerge25-Nov-03 23:56 

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.