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

C / C++ / MFC

 
GeneralRe: question about deleting a record in a database table. Pin
Alexandru Savescu5-Sep-02 20:48
Alexandru Savescu5-Sep-02 20:48 
GeneralCompilation Question Pin
Michael Pyatski4-Sep-02 7:50
sussMichael Pyatski4-Sep-02 7:50 
GeneralRe: Compilation Question Pin
Matthew R. Miller4-Sep-02 10:26
Matthew R. Miller4-Sep-02 10:26 
GeneralRe: Compilation Question Pin
Stephane Rodriguez.4-Sep-02 10:38
Stephane Rodriguez.4-Sep-02 10:38 
GeneralRe: Compilation Question Pin
Gary R. Wheeler5-Sep-02 3:10
Gary R. Wheeler5-Sep-02 3:10 
Generallost cursor Pin
Anonymous4-Sep-02 6:34
Anonymous4-Sep-02 6:34 
GeneralRe: lost cursor Pin
John Fisher4-Sep-02 7:56
John Fisher4-Sep-02 7:56 
Generalhelp! How to exit gracefully Pin
ns4-Sep-02 6:34
ns4-Sep-02 6:34 
In my view class I have a CFileDialog:

int nRetMainDB =  fileDlg.DoModal();

if (nRetMainDB == IDCANCEL)return;


Now if the user presses cancel I want the app to exit. With the return that I have above,
it doesnt terminate the program , just crashes! Why? and how do I exit?

Thanks,
nsConfused | :confused:
GeneralRe: help! How to exit gracefully Pin
Gero Gerber4-Sep-02 6:43
Gero Gerber4-Sep-02 6:43 
GeneralRe: help! How to exit gracefully Pin
Abin4-Sep-02 7:18
Abin4-Sep-02 7:18 
GeneralThanks much !! Pin
ns4-Sep-02 7:29
ns4-Sep-02 7:29 
GeneralAccelerator Keys in dialog Pin
DRHuff4-Sep-02 5:50
DRHuff4-Sep-02 5:50 
GeneralRe: Accelerator Keys in dialog Pin
Tomasz Sowinski4-Sep-02 5:56
Tomasz Sowinski4-Sep-02 5:56 
GeneralRe: Accelerator Keys in dialog Pin
DRHuff4-Sep-02 6:04
DRHuff4-Sep-02 6:04 
GeneralRe: Accelerator Keys in dialog Pin
Max Santos4-Sep-02 7:44
Max Santos4-Sep-02 7:44 
GeneralRe: Accelerator Keys in dialog Pin
Chris Losinger4-Sep-02 7:55
professionalChris Losinger4-Sep-02 7:55 
GeneralRe: Accelerator Keys in dialog Pin
Andreas Saurwein4-Sep-02 12:41
Andreas Saurwein4-Sep-02 12:41 
GeneralRe: Accelerator Keys in dialog Pin
Chris Losinger4-Sep-02 12:45
professionalChris Losinger4-Sep-02 12:45 
GeneralRe: Accelerator Keys in dialog Pin
Alexandru Savescu4-Sep-02 21:16
Alexandru Savescu4-Sep-02 21:16 
Questionhow to highlight item selected in the listctrl Pin
ns4-Sep-02 4:30
ns4-Sep-02 4:30 
AnswerRe: how to highlight item selected in the listctrl Pin
Pavel Klocek4-Sep-02 4:36
Pavel Klocek4-Sep-02 4:36 
GeneralRe: how to highlight item selected in the listctrl Pin
ns4-Sep-02 4:48
ns4-Sep-02 4:48 
GeneralReading past end-of-file Pin
Haim Yulzari4-Sep-02 4:17
Haim Yulzari4-Sep-02 4:17 
GeneralRe: Reading past end-of-file Pin
Tomasz Sowinski4-Sep-02 4:31
Tomasz Sowinski4-Sep-02 4:31 
GeneralRe: Reading past end-of-file Pin
Haim Yulzari4-Sep-02 4:42
Haim Yulzari4-Sep-02 4:42 

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.