Click here to Skip to main content
15,892,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMOUNT POINTS!! Pin
URagavSouth22-Sep-05 1:56
URagavSouth22-Sep-05 1:56 
AnswerRe: MOUNT POINTS!! Pin
Nilesh K.22-Sep-05 2:35
Nilesh K.22-Sep-05 2:35 
GeneralRe: MOUNT POINTS!! Pin
URagavSouth22-Sep-05 2:39
URagavSouth22-Sep-05 2:39 
GeneralRe: MOUNT POINTS!! Pin
Nilesh K.22-Sep-05 2:43
Nilesh K.22-Sep-05 2:43 
Questionconflict in windows focus - float menu involved Pin
Laffis22-Sep-05 1:39
Laffis22-Sep-05 1:39 
AnswerRe: conflict in windows focus - float menu involved Pin
Steen Krogsgaard22-Sep-05 1:59
Steen Krogsgaard22-Sep-05 1:59 
GeneralRe: conflict in windows focus - float menu involved Pin
Laffis22-Sep-05 2:23
Laffis22-Sep-05 2:23 
GeneralRe: conflict in windows focus - float menu involved Pin
Steen Krogsgaard22-Sep-05 2:39
Steen Krogsgaard22-Sep-05 2:39 
Hmmm... does this mean the you display UI stuff from two threads? I'm no expert on multithreading, but according to Joseph Newcomer (http://www.flounder.com/workerthreads.htm[^] (who seems to be an expert) you should never ever touch the UI from a worker thread. Instead, you should post a message from the worker thread to the main thread and have the main (UI) thread display the dialog.

If you for some reason don't want to change your design you should at least protect the access to the bool variable with a mutex (see http://www.flounder.com/semaphores.htm[^])

Cheers
Steen.

"To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
GeneralRe: conflict in windows focus - float menu involved Pin
Steen Krogsgaard22-Sep-05 2:43
Steen Krogsgaard22-Sep-05 2:43 
AnswerRe: conflict in windows focus - float menu involved Pin
Nilesh K.22-Sep-05 2:23
Nilesh K.22-Sep-05 2:23 
GeneralRe: conflict in windows focus - float menu involved Pin
Laffis22-Sep-05 2:47
Laffis22-Sep-05 2:47 
Questionhow to convert int to char* Pin
prabhakar2622-Sep-05 1:10
prabhakar2622-Sep-05 1:10 
AnswerRe: how to convert int to char* Pin
Laffis22-Sep-05 1:24
Laffis22-Sep-05 1:24 
AnswerRe: how to convert int to char* Pin
Steen Krogsgaard22-Sep-05 1:44
Steen Krogsgaard22-Sep-05 1:44 
AnswerRe: how to convert int to char* Pin
Omar.Pessoa22-Sep-05 2:10
Omar.Pessoa22-Sep-05 2:10 
AnswerRe: how to convert int to char* Pin
bugDanny22-Sep-05 2:38
bugDanny22-Sep-05 2:38 
QuestionCD writing in VC Pin
kk.tvm22-Sep-05 0:40
kk.tvm22-Sep-05 0:40 
AnswerRe: CD writing in VC Pin
kakan22-Sep-05 1:54
professionalkakan22-Sep-05 1:54 
GeneralRe: CD writing in VC Pin
kk.tvm22-Sep-05 1:59
kk.tvm22-Sep-05 1:59 
AnswerRe: CD writing in VC Pin
Nilesh K.22-Sep-05 2:11
Nilesh K.22-Sep-05 2:11 
QuestionReading Excel files in VC Pin
kk.tvm22-Sep-05 0:31
kk.tvm22-Sep-05 0:31 
AnswerRe: Reading Excel files in VC Pin
*Dreamz22-Sep-05 0:34
*Dreamz22-Sep-05 0:34 
QuestionRe: Reading Excel files in VC Pin
kk.tvm22-Sep-05 0:37
kk.tvm22-Sep-05 0:37 
GeneralRe: Reading Excel files in VC Pin
*Dreamz22-Sep-05 0:42
*Dreamz22-Sep-05 0:42 
AnswerRe: Reading Excel files in VC Pin
Cedric Moonen22-Sep-05 0:45
Cedric Moonen22-Sep-05 0:45 

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.