Click here to Skip to main content
15,927,744 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ 7 and IL Pin
Rickard Andersson205-Apr-02 7:08
Rickard Andersson205-Apr-02 7:08 
GeneralExit from program! Pin
Mazdak5-Apr-02 5:56
Mazdak5-Apr-02 5:56 
GeneralRe: Exit from program! Pin
Sumudu Perera5-Apr-02 5:58
Sumudu Perera5-Apr-02 5:58 
GeneralRe: Exit from program! Pin
Mazdak5-Apr-02 6:08
Mazdak5-Apr-02 6:08 
GeneralRe: Exit from program! Pin
Alvaro Mendez5-Apr-02 6:10
Alvaro Mendez5-Apr-02 6:10 
GeneralRe: Exit from program! Pin
Mazdak5-Apr-02 7:21
Mazdak5-Apr-02 7:21 
GeneralRe: Exit from program! Pin
Mazdak5-Apr-02 7:21
Mazdak5-Apr-02 7:21 
GeneralRe: Exit from program! Pin
Renjith Ramachandran5-Apr-02 7:38
Renjith Ramachandran5-Apr-02 7:38 
hi friend

There is a plenty of ways.........


void YourDialog::OnOK()
{
//just call
CDialog::OnOk();
or
exit(exitcode);
or
PostQuitMessage(exitcode);
or
EndDialog();
or
ExitThread(exitcode);
or
ExitProcess(exit code);
or
SendMessage(this,WM_DESTROY,0,0);

}
and many other
u can pas the exitcode as 0

ok
try it now..!!
RRenjith



Hai Friends me from Pandalam..and i think there is a sofware behind everything...
so enjoy with the codes...

GeneralRe: Exit from program! Pin
Mazdak5-Apr-02 7:56
Mazdak5-Apr-02 7:56 
GeneralCListCtrl - Add New Record to Top(0) Pin
5-Apr-02 5:03
suss5-Apr-02 5:03 
GeneralRe: CListCtrl - Add New Record to Top(0) Pin
Ravi Bhavnani5-Apr-02 5:30
professionalRavi Bhavnani5-Apr-02 5:30 
GeneralRe: CListCtrl - Add New Record to Top(0) Pin
5-Apr-02 5:41
suss5-Apr-02 5:41 
GeneralRe: CListCtrl - Add New Record to Top(0) Pin
Ravi Bhavnani5-Apr-02 5:51
professionalRavi Bhavnani5-Apr-02 5:51 
GeneralRe: CListCtrl - Add New Record to Top(0) Pin
Carlos Antollini5-Apr-02 5:55
Carlos Antollini5-Apr-02 5:55 
QuestionGetOpenFileName bug? Pin
Dennis Rivard5-Apr-02 4:24
Dennis Rivard5-Apr-02 4:24 
GeneralCStdioFile Pin
Mazdak5-Apr-02 3:49
Mazdak5-Apr-02 3:49 
GeneralRe: CStdioFile Pin
Douglas Troy5-Apr-02 4:19
Douglas Troy5-Apr-02 4:19 
GeneralRe: CStdioFile Pin
Mazdak5-Apr-02 5:20
Mazdak5-Apr-02 5:20 
GeneralRe: CStdioFile Pin
Renjith Ramachandran5-Apr-02 7:55
Renjith Ramachandran5-Apr-02 7:55 
QuestionProcess does not end??? Pin
Frankvw5-Apr-02 3:44
Frankvw5-Apr-02 3:44 
GeneralA simple MFC problem Pin
5-Apr-02 3:01
suss5-Apr-02 3:01 
GeneralRe: A simple MFC problem Pin
Carlos Antollini5-Apr-02 3:15
Carlos Antollini5-Apr-02 3:15 
GeneralCharacter map/Symbol picker Pin
Mauritz Bomark5-Apr-02 2:30
Mauritz Bomark5-Apr-02 2:30 
GeneralFTP, filetime problem Pin
5-Apr-02 2:06
suss5-Apr-02 2:06 
GeneralCHTMLView and OnNewWindow2 Pin
Matt Gullett5-Apr-02 1:51
Matt Gullett5-Apr-02 1: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.