Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Pop Up loading message Pin
Scott Holt27-Nov-06 13:57
Scott Holt27-Nov-06 13:57 
GeneralRe: Pop Up loading message Pin
acerunner31627-Nov-06 14:14
acerunner31627-Nov-06 14:14 
GeneralRe: Pop Up loading message Pin
Scott Holt27-Nov-06 15:30
Scott Holt27-Nov-06 15:30 
GeneralRe: Pop Up loading message Pin
Scott Holt27-Nov-06 15:38
Scott Holt27-Nov-06 15:38 
GeneralRe: Pop Up loading message Pin
acerunner31627-Nov-06 15:56
acerunner31627-Nov-06 15:56 
GeneralRe: Pop Up loading message Pin
acerunner31628-Nov-06 8:33
acerunner31628-Nov-06 8:33 
GeneralRe: Pop Up loading message Pin
Scott Holt28-Nov-06 9:57
Scott Holt28-Nov-06 9:57 
GeneralRe: Pop Up loading message Pin
Mark Salsbery27-Nov-06 11:26
Mark Salsbery27-Nov-06 11:26 
AnswerRe: Pop Up loading message Pin
Aqueel27-Nov-06 22:28
Aqueel27-Nov-06 22:28 
QuestionAnother beginner Q Pin
Ray_mond27-Nov-06 7:29
Ray_mond27-Nov-06 7:29 
QuestionRe: Another beginner Q Pin
Maximilien27-Nov-06 7:33
Maximilien27-Nov-06 7:33 
AnswerRe: Another beginner Q Pin
Ray_mond27-Nov-06 10:22
Ray_mond27-Nov-06 10:22 
QuestionFOLDER ACCESS PERMISSION Pin
Killer327-Nov-06 6:15
Killer327-Nov-06 6:15 
AnswerRe: FOLDER ACCESS PERMISSION Pin
David Crow27-Nov-06 7:30
David Crow27-Nov-06 7:30 
AnswerRe: FOLDER ACCESS PERMISSION Pin
Mark Salsbery27-Nov-06 7:39
Mark Salsbery27-Nov-06 7:39 
QuestionCFileDialog Pin
Nyarlatotep27-Nov-06 6:01
Nyarlatotep27-Nov-06 6:01 
AnswerRe: CFileDialog Pin
BlitzPackage27-Nov-06 6:19
BlitzPackage27-Nov-06 6:19 
GeneralRe: CFileDialog Pin
Nyarlatotep27-Nov-06 6:55
Nyarlatotep27-Nov-06 6:55 
GeneralRe: CFileDialog Pin
Humberto27-Nov-06 8:17
Humberto27-Nov-06 8:17 
AnswerRe: CFileDialog Pin
cje27-Nov-06 7:22
cje27-Nov-06 7:22 
so

Nyarlatotep wrote:
CFileDialog dlg( TRUE, "jpg", NULL, OFN_OVERWRITEPROMPT|OFN_HIDEREADONLY|OFN_PATHMUSTEXIST|OFN_FILEMUSTEXIST, szFilter, this );
if( dlg.DoModal() != IDOK )
{
return;
}


does not cause a problem if cancel is pressed but does cause a problem if you press ok right? I suspect that the problem lies in the code beyond this call. Pressing cancel will cause a 'return' to execute, pressing ok will cause what ever code is after this to execute...
<br />
CFileDialog dlg( TRUE, "jpg", NULL, OFN_OVERWRITEPROMPT|OFN_HIDEREADONLY|OFN_PATHMUSTEXIST|OFN_FILEMUSTEXIST, szFilter, this );<br />
if( dlg.DoModal() != IDOK )<br />
{<br />
return;<br />
}<br />
<br />
...WHAT CODE IS HERE?<br />


cje

GeneralRe: CFileDialog Pin
Nyarlatotep27-Nov-06 7:29
Nyarlatotep27-Nov-06 7:29 
AnswerRe: CFileDialog Pin
Mark Salsbery27-Nov-06 7:23
Mark Salsbery27-Nov-06 7:23 
GeneralRe: CFileDialog Pin
Nyarlatotep27-Nov-06 7:33
Nyarlatotep27-Nov-06 7:33 
GeneralRe: CFileDialog Pin
Mark Salsbery27-Nov-06 7:43
Mark Salsbery27-Nov-06 7:43 
GeneralRe: CFileDialog Pin
Nyarlatotep27-Nov-06 7:51
Nyarlatotep27-Nov-06 7:51 

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.