Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDialogBox problem Pin
Jump_Around27-May-03 0:02
Jump_Around27-May-03 0:02 
GeneralRe: DialogBox problem Pin
Daniel Strigl27-May-03 0:18
Daniel Strigl27-May-03 0:18 
GeneralRe: DialogBox problem Pin
Neville Franks27-May-03 0:32
Neville Franks27-May-03 0:32 
GeneralDisable close button in AfxMessageBox Pin
rohit.dhamija26-May-03 23:27
rohit.dhamija26-May-03 23:27 
GeneralRe: Disable close button in AfxMessageBox Pin
dabs26-May-03 23:48
dabs26-May-03 23:48 
GeneralRe: Disable close button in AfxMessageBox Pin
rohit.dhamija27-May-03 0:13
rohit.dhamija27-May-03 0:13 
GeneralRe: Disable close button in AfxMessageBox Pin
Anonymous27-May-03 0:29
Anonymous27-May-03 0:29 
GeneralRe: Disable close button in AfxMessageBox Pin
Maximilien27-May-03 0:45
Maximilien27-May-03 0:45 
read the manual please ...

...<br />
Message_Box Types <br />
MB_ABORTRETRYIGNORE   The message box contains three pushbuttons: Abort, Retry, and Ignore. <br />
MB_OK   The message box contains one pushbutton: OK. <br />
MB_OKCANCEL   The message box contains two pushbuttons: OK and Cancel. <br />
MB_RETRYCANCEL   The message box contains two pushbuttons: Retry and Cancel. <br />
MB_YESNO   The message box contains two pushbuttons: Yes and No. <br />
MB_YESNOCANCEL   The message box contains three pushbuttons: Yes, No, and Cancel.<br />
...


Those are used to create the AfxMessageBox, maybe not for dynamically remove buttons.

If you want a message box with only an OK button, you create with MB_OK only flag.



Maximilien Lincourt
For success one must aquire one's self
GeneralRe: Disable close button in AfxMessageBox Pin
rohit.dhamija27-May-03 1:03
rohit.dhamija27-May-03 1:03 
GeneralRe: Disable close button in AfxMessageBox Pin
Rage27-May-03 1:16
professionalRage27-May-03 1:16 
GeneralRe: Disable close button in AfxMessageBox Pin
Rage27-May-03 1:12
professionalRage27-May-03 1:12 
GeneralRe: Disable close button in AfxMessageBox Pin
Anonymous27-May-03 2:00
Anonymous27-May-03 2:00 
GeneralRe: Disable close button in AfxMessageBox Pin
Rage27-May-03 2:15
professionalRage27-May-03 2:15 
Questionhow to resolve this compilation error? Pin
safee ullah26-May-03 23:16
safee ullah26-May-03 23:16 
AnswerRe: how to resolve this compilation error? Pin
Rage26-May-03 23:26
professionalRage26-May-03 23:26 
QuestionHow do you programmatically maintain internet connection? Pin
Abin26-May-03 23:10
Abin26-May-03 23:10 
AnswerRe: How do you programmatically maintain internet connection? Pin
Anonymous26-May-03 23:27
Anonymous26-May-03 23:27 
QuestionHOW TO CLOSE AN APP WITH ANOTHER Pin
Cheickna26-May-03 23:08
Cheickna26-May-03 23:08 
AnswerRe: HOW TO CLOSE AN APP WITH ANOTHER Pin
Rage26-May-03 23:28
professionalRage26-May-03 23:28 
GeneralRe: HOW TO CLOSE AN APP WITH ANOTHER Pin
Cheickna26-May-03 23:38
Cheickna26-May-03 23:38 
GeneralRe: HOW TO CLOSE AN APP WITH ANOTHER Pin
Rage27-May-03 0:57
professionalRage27-May-03 0:57 
AnswerRe: HOW TO CLOSE AN APP WITH ANOTHER Pin
Anonymous27-May-03 0:38
Anonymous27-May-03 0:38 
GeneralRe: HOW TO CLOSE AN APP WITH ANOTHER Pin
John M. Drescher27-May-03 4:43
John M. Drescher27-May-03 4:43 
AnswerRe: HOW TO CLOSE AN APP WITH ANOTHER Pin
Neville Franks27-May-03 0:40
Neville Franks27-May-03 0:40 
Questiontransparent text background on a tab control? Pin
jeremysay26-May-03 23:05
jeremysay26-May-03 23:05 

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.