Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to convert char* to System::String^ Pin
toxcct14-Nov-07 6:31
toxcct14-Nov-07 6:31 
QuestionRe: how to use Date Time picker control Pin
David Crow14-Nov-07 3:24
David Crow14-Nov-07 3:24 
QuestionDoModal not returning. Pin
Mr Simple14-Nov-07 2:32
Mr Simple14-Nov-07 2:32 
AnswerRe: DoModal not returning. Pin
Roger Broomfield14-Nov-07 3:01
Roger Broomfield14-Nov-07 3:01 
AnswerRe: DoModal not returning. Pin
Nelek14-Nov-07 3:03
protectorNelek14-Nov-07 3:03 
AnswerRe: DoModal not returning. Pin
KarstenK14-Nov-07 3:14
mveKarstenK14-Nov-07 3:14 
AnswerRe: DoModal not returning. Pin
David Crow14-Nov-07 3:15
David Crow14-Nov-07 3:15 
AnswerRe: DoModal not returning. Pin
Mr Simple14-Nov-07 5:37
Mr Simple14-Nov-07 5:37 
Thanks folks.

Using "new CPleaseWait(NULL);" didn't fix the problem, oh, and I was using dlg->DoModal (as opposed to .DoModdal) it was a typo as the machine I am coding on isnt networked Smile | :)

I ended up using the modeless after disabling the main form, as suggested.

I have another question, not too important anymore, but would be handy to know. Inside the InitDialog() I had a new thread which alters the contents of a label to show the search hasnt crashed. It has worked before in the old application (I have just realised that the old problem didnt exist then as it was being used as a splash screen when the app was started, hence no parent). Now, the 'SetWindowText()' to update the label runs once, then doesnt return the second time. I cant look any further into it as no code is available for debugging (other than assembly) meaning it is quicker for me to delete that bit Smile | :)

Like i say, its not important now, but any ideas?


Thanks for the help everyone, I had been staring at those lines of code for hours!
GeneralRe: DoModal not returning. Pin
Nelek14-Nov-07 20:07
protectorNelek14-Nov-07 20:07 
Questionhow to use Date Time picker control Pin
gb_my14-Nov-07 0:51
gb_my14-Nov-07 0:51 
AnswerRe: how to use Date Time picker control Pin
Roger Broomfield14-Nov-07 1:01
Roger Broomfield14-Nov-07 1:01 
QuestionNTFS junction point Pin
LiveShell14-Nov-07 0:50
LiveShell14-Nov-07 0:50 
QuestionMedia files Pin
zakkas248314-Nov-07 0:49
zakkas248314-Nov-07 0:49 
GeneralRe: Media files Pin
Matthew Faithfull14-Nov-07 3:40
Matthew Faithfull14-Nov-07 3:40 
QuestionRemove toolbar button border in release mode Pin
cagespear14-Nov-07 0:11
cagespear14-Nov-07 0:11 
Questioncan any body tell me how to fetch the text from the list control Pin
Deepu Antony13-Nov-07 23:44
Deepu Antony13-Nov-07 23:44 
AnswerRe: can any body tell me how to fetch the text from the list control Pin
chandu00413-Nov-07 23:47
chandu00413-Nov-07 23:47 
GeneralRe: can any body tell me how to fetch the text from the list control Pin
Deepu Antony13-Nov-07 23:58
Deepu Antony13-Nov-07 23:58 
GeneralRe: can any body tell me how to fetch the text from the list control Pin
ThatsAlok14-Nov-07 0:29
ThatsAlok14-Nov-07 0:29 
QuestionRe: can any body tell me how to fetch the text from the list control Pin
David Crow14-Nov-07 3:28
David Crow14-Nov-07 3:28 
AnswerRe: can any body tell me how to fetch the text from the list control Pin
ThatsAlok14-Nov-07 3:48
ThatsAlok14-Nov-07 3:48 
GeneralRe: can any body tell me how to fetch the text from the list control Pin
Hamid_RT14-Nov-07 6:32
Hamid_RT14-Nov-07 6:32 
AnswerRe: can any body tell me how to fetch the text from the list control Pin
Roger Broomfield14-Nov-07 0:45
Roger Broomfield14-Nov-07 0:45 
QuestionRe: can any body tell me how to fetch the text from the list control Pin
David Crow14-Nov-07 3:27
David Crow14-Nov-07 3:27 
AnswerRe: can any body tell me how to fetch the text from the list control Pin
Roger Broomfield14-Nov-07 3:45
Roger Broomfield14-Nov-07 3: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.