Click here to Skip to main content
15,915,065 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem Using CString Pin
CoffeeAddict1915-Nov-06 17:31
CoffeeAddict1915-Nov-06 17:31 
AnswerRe: Problem Using CString Pin
Hamid_RT15-Nov-06 18:41
Hamid_RT15-Nov-06 18:41 
QuestionVC++ MFC multi dialog application - crash Pin
sdt2415-Nov-06 6:11
sdt2415-Nov-06 6:11 
AnswerRe: VC++ MFC multi dialog application - crash Pin
Roger Stoltz15-Nov-06 6:30
Roger Stoltz15-Nov-06 6:30 
QuestionRe: VC++ MFC multi dialog application - crash Pin
David Crow15-Nov-06 6:59
David Crow15-Nov-06 6:59 
AnswerRe: VC++ MFC multi dialog application - crash Pin
Raj Prathap15-Nov-06 18:57
Raj Prathap15-Nov-06 18:57 
GeneralRe: VC++ MFC multi dialog application - crash Pin
David Crow16-Nov-06 2:43
David Crow16-Nov-06 2:43 
GeneralRe: VC++ MFC multi dialog application - crash Pin
sdt2416-Nov-06 5:39
sdt2416-Nov-06 5:39 
Thanks for all the responses.

Tried enddialog and this has the same results.

Looks like I may have gone for a poor design.

The application design has four dialogs. What I wanted to do was move forwards through each 1 to 4 or back 4 to 1 which I would have thought is OK using domodal to open up each and oncancel to move back. However dialog 2 contains a list control of data read from a file. After entering text into edit boxes on dialog 4 and accepting the data with a button press (which updates the file) I wanted to close dialog 4 and 3 (both containing data relevant to the list control choice on dialog 2) and refresh the list control on dialog 2 to remove the processed line.

Thought the best way to refresh dialog 2 was to close it and reopen it so that the OnInitDialog function refreshed the dialog from the updated file.

Also when completing the final choice in dialog 4 and there are no items left in the dialog 2 list control I wanted to go back from 4 to 1 so close 4, 3 and 2.

This is why I was attempting to open the next dialog and cancal the current one.

So not sure if I can do this kind of thing in VC++ using MFC. Does anyone no please if it can. The application appeared to work well until I noticed the first crash.

I will have a look at modeless dialogs to see if this is the answer.

Thanks
Steve
QuestionRe: VC++ MFC multi dialog application - crash Pin
David Crow16-Nov-06 6:45
David Crow16-Nov-06 6:45 
AnswerRe: VC++ MFC multi dialog application - crash Pin
sdt2420-Nov-06 2:14
sdt2420-Nov-06 2:14 
QuestionodbcDataReader error Pin
priyank_ldce15-Nov-06 6:10
priyank_ldce15-Nov-06 6:10 
AnswerRe: odbcDataReader error Pin
Mark Salsbery15-Nov-06 6:56
Mark Salsbery15-Nov-06 6:56 
QuestionExcel Automation Using C++ #import Pin
Doug Knudson15-Nov-06 5:15
Doug Knudson15-Nov-06 5:15 
AnswerRe: Excel Automation Using C++ #import Pin
Roger Stoltz15-Nov-06 5:47
Roger Stoltz15-Nov-06 5:47 
GeneralRe: Excel Automation Using C++ #import Pin
Doug Knudson15-Nov-06 6:39
Doug Knudson15-Nov-06 6:39 
GeneralRe: Excel Automation Using C++ #import Pin
Roger Stoltz15-Nov-06 6:57
Roger Stoltz15-Nov-06 6:57 
QuestionHow can we get size of the File.... Pin
Anamika200515-Nov-06 5:05
Anamika200515-Nov-06 5:05 
AnswerRe: How can we get size of the File.... Pin
VonHagNDaz15-Nov-06 6:22
VonHagNDaz15-Nov-06 6:22 
GeneralRe: How can we get size of the File.... Pin
Anamika200515-Nov-06 19:51
Anamika200515-Nov-06 19:51 
GeneralRe: How can we get size of the File.... Pin
Anamika200515-Nov-06 19:52
Anamika200515-Nov-06 19:52 
Questionarray of pointers Pin
thathvamsi15-Nov-06 4:46
thathvamsi15-Nov-06 4:46 
AnswerRe: array of pointers Pin
led mike15-Nov-06 5:17
led mike15-Nov-06 5:17 
GeneralRe: array of pointers Pin
thathvamsi15-Nov-06 14:37
thathvamsi15-Nov-06 14:37 
GeneralRe: array of pointers Pin
led mike16-Nov-06 8:34
led mike16-Nov-06 8:34 
QuestionCOM Dialog Compile Error Pin
jon_fallon15-Nov-06 4:44
jon_fallon15-Nov-06 4:44 

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.