Click here to Skip to main content
15,903,201 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Capturing TCP/IP packets in (DOS) Pin
Iain Clarke, Warrior Programmer5-Apr-09 22:21
Iain Clarke, Warrior Programmer5-Apr-09 22:21 
GeneralRe: Capturing TCP/IP packets in (DOS) Pin
rbwest866-Apr-09 4:47
rbwest866-Apr-09 4:47 
GeneralRe: Capturing TCP/IP packets in (DOS) Pin
Iain Clarke, Warrior Programmer6-Apr-09 6:31
Iain Clarke, Warrior Programmer6-Apr-09 6:31 
QuestionRe: Capturing TCP/IP packets in (DOS) Pin
rbwest867-Apr-09 23:40
rbwest867-Apr-09 23:40 
QuestionX64 compilation problems Pin
Varghese Paul M5-Apr-09 20:40
Varghese Paul M5-Apr-09 20:40 
AnswerRe: X64 compilation problems Pin
Stuart Dootson5-Apr-09 22:14
professionalStuart Dootson5-Apr-09 22:14 
QuestionVideo Capture Pin
tns_ranjith5-Apr-09 20:23
tns_ranjith5-Apr-09 20:23 
QuestionHow to make MessageBox () to behave as AfxMessageBox (); Pin
kapardhi5-Apr-09 19:08
kapardhi5-Apr-09 19:08 
Hai!
I have an MFC application in which if i press a button, a message box pops up. In that message box i have to display the Error message and caption so i am using MessageBox () instead of AfxMessageBox () since in AfxMessageBox () i cannot specify the caption.
Now the problem with MessageBox () is for as many times I press the button that many time the message box pops up, but if i use AfxMessage box it pops up once unless i respond to it i am not able to press the button in the main dialog.

So i need in this format i want to display the error message, its caption but unless user responds to that message box i must not be able to press the button as it happens in AfxMessageBox ().
I tried with the following, but still multiple messagebox pops up if i continously press the button in main dialog
MessageBox ("This error is due to XYZ", "Error", MB_ICONERROR | MB_APPLMODAL);

Thanks!
AnswerRe: How to make MessageBox () to behave as AfxMessageBox (); Pin
kapardhi5-Apr-09 19:15
kapardhi5-Apr-09 19:15 
GeneralRe: How to make MessageBox () to behave as AfxMessageBox (); Pin
Hamid_RT5-Apr-09 19:40
Hamid_RT5-Apr-09 19:40 
QuestionRe: How to make MessageBox () to behave as AfxMessageBox (); Pin
Iain Clarke, Warrior Programmer5-Apr-09 22:23
Iain Clarke, Warrior Programmer5-Apr-09 22:23 
AnswerRe: How to make MessageBox () to behave as AfxMessageBox (); Pin
peaqea5-Apr-09 19:21
peaqea5-Apr-09 19:21 
GeneralRe: How to make MessageBox () to behave as AfxMessageBox (); Pin
gamefreak229119-Apr-09 16:20
gamefreak229119-Apr-09 16:20 
QuestionCRichEditCtrl on CMDIChildWnd not working Pin
prithaa5-Apr-09 18:11
prithaa5-Apr-09 18:11 
AnswerRe: CRichEditCtrl on CMDIChildWnd not working Pin
prithaa5-Apr-09 20:20
prithaa5-Apr-09 20:20 
QuestionClassWizard not displayed Pin
prithaa5-Apr-09 17:31
prithaa5-Apr-09 17:31 
AnswerRe: ClassWizard not displayed Pin
peaqea5-Apr-09 19:36
peaqea5-Apr-09 19:36 
QuestionRe: ClassWizard not displayed Pin
David Crow6-Apr-09 6:38
David Crow6-Apr-09 6:38 
AnswerRe: ClassWizard not displayed Pin
prithaa7-Apr-09 2:32
prithaa7-Apr-09 2:32 
QuestionPC based application using Microsoft Bluetooth Stack Pin
Kevin Geary5-Apr-09 16:47
Kevin Geary5-Apr-09 16:47 
AnswerRe: PC based application using Microsoft Bluetooth Stack Pin
Soundman32.26-Apr-09 0:32
Soundman32.26-Apr-09 0:32 
GeneralRe: PC based application using Microsoft Bluetooth Stack Pin
Kevin Geary6-Apr-09 1:43
Kevin Geary6-Apr-09 1:43 
GeneralRe: PC based application using Microsoft Bluetooth Stack Pin
Soundman32.26-Apr-09 1:53
Soundman32.26-Apr-09 1:53 
QuestionInterfacing with an Maxatec POS receipt printer, printing "downloaded images" Pin
Sternocera5-Apr-09 8:00
Sternocera5-Apr-09 8:00 
AnswerRe: Interfacing with an Maxatec POS receipt printer, printing "downloaded images" Pin
Iain Clarke, Warrior Programmer6-Apr-09 1:56
Iain Clarke, Warrior Programmer6-Apr-09 1:56 

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.