Click here to Skip to main content
15,923,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to disable close(x) button for sidebar window Pin
customize13-May-08 8:40
customize13-May-08 8:40 
QuestionA better understanding of Thread Local Storage Pin
ForNow13-May-08 6:12
ForNow13-May-08 6:12 
AnswerRe: A better understanding of Thread Local Storage Pin
Mark Salsbery13-May-08 9:18
Mark Salsbery13-May-08 9:18 
GeneralRe: A better understanding of Thread Local Storage Pin
ForNow13-May-08 12:30
ForNow13-May-08 12:30 
GeneralRe: A better understanding of Thread Local Storage Pin
Mark Salsbery14-May-08 6:18
Mark Salsbery14-May-08 6:18 
GeneralRe: A better understanding of Thread Local Storage Pin
ForNow14-May-08 14:00
ForNow14-May-08 14:00 
GeneralRe: A better understanding of Thread Local Storage Pin
ForNow13-May-08 14:56
ForNow13-May-08 14:56 
QuestionClosing AfxMessageBox Pin
Sunil P V13-May-08 4:59
Sunil P V13-May-08 4:59 
Hi All,

I have a dialog (say CMyDlg) from which i show a message box(AfxMessageBox). I call the DoModal() of the CMyDlg. After a while with the same instance of CMyDlg i close the dialog by calling EndDialog.

My Question::
1. If the message box is shown, is it possible to close that first and then close the CMyDlg.

Main Condition Cry | :(( : I am not supposed to use the ::FindWindow for the AfxMessageBox since the message box title will keep changing with time.

Please help.

Regards
Sunil

Sunil

AnswerRe: Closing AfxMessageBox Pin
Iain Clarke, Warrior Programmer13-May-08 5:11
Iain Clarke, Warrior Programmer13-May-08 5:11 
AnswerRe: Closing AfxMessageBox Pin
Mark Salsbery13-May-08 5:12
Mark Salsbery13-May-08 5:12 
GeneralRe: Closing AfxMessageBox Pin
Sunil P V13-May-08 20:19
Sunil P V13-May-08 20:19 
GeneralRe: Closing AfxMessageBox Pin
Mark Salsbery14-May-08 5:34
Mark Salsbery14-May-08 5:34 
QuestionTCHAR porting issues while porting from VC6 to VC8 Pin
Rajesh_Parameswaran13-May-08 3:52
Rajesh_Parameswaran13-May-08 3:52 
AnswerRe: TCHAR porting issues while porting from VC6 to VC8 Pin
Iain Clarke, Warrior Programmer13-May-08 4:00
Iain Clarke, Warrior Programmer13-May-08 4:00 
GeneralPlz sir slow down Pin
CPallini13-May-08 4:08
mveCPallini13-May-08 4:08 
GeneralRe: Plz sir slow down Pin
Iain Clarke, Warrior Programmer13-May-08 4:13
Iain Clarke, Warrior Programmer13-May-08 4:13 
GeneralRe: Plz sir slow down Pin
Cedric Moonen13-May-08 4:25
Cedric Moonen13-May-08 4:25 
GeneralRe: Plz sir slow down Pin
CPallini13-May-08 4:26
mveCPallini13-May-08 4:26 
GeneralRe: Plz sir slow down Pin
Cedric Moonen13-May-08 4:28
Cedric Moonen13-May-08 4:28 
GeneralRe: Plz sir slow down Pin
Rajesh_Parameswaran13-May-08 4:36
Rajesh_Parameswaran13-May-08 4:36 
QuestionRe: Plz sir slow down Pin
Rajkumar R13-May-08 4:45
Rajkumar R13-May-08 4:45 
AnswerRe: Plz sir slow down Pin
Rajesh_Parameswaran13-May-08 4:52
Rajesh_Parameswaran13-May-08 4:52 
GeneralRe: Plz sir slow down Pin
Rajkumar R13-May-08 5:33
Rajkumar R13-May-08 5:33 
GeneralRe: Plz sir slow down Pin
CPallini13-May-08 4:47
mveCPallini13-May-08 4:47 
GeneralRe: Plz sir slow down Pin
Rajkumar R13-May-08 18:59
Rajkumar R13-May-08 18:59 

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.