안녕하세요. 천리안 프로그래머포럼 C++Builder 담당 임펠리테리입니다.
if(Application->MessageBox("Yes to continue, or no to quit now.",
"Input Yes Or No", MB_YESNO:MB_ICONQUESTION)==IDNO)
Application->Terminate();
물론, 만약 콘솔 어플리케이션을 만들려고 하시는 거라면 답은 다르게 됩니다.
그런 경우라면 다시 질문해주시기 바랍니다.
그럼 이만...
임펠리테리 박지훈이었습니다.
( http://www.borlandforum.com, cbuilder@shinhae.com)
|