Click here to Skip to main content
15,908,020 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: focusing messagebox Pin
gamefreak229129-Mar-09 19:02
gamefreak229129-Mar-09 19:02 
GeneralRe: focusing messagebox Pin
«_Superman_»29-Mar-09 19:44
professional«_Superman_»29-Mar-09 19:44 
GeneralRe: focusing messagebox Pin
gamefreak229129-Mar-09 20:38
gamefreak229129-Mar-09 20:38 
GeneralRe: focusing messagebox Pin
«_Superman_»29-Mar-09 20:47
professional«_Superman_»29-Mar-09 20:47 
AnswerRe: focusing messagebox Pin
Eytukan29-Mar-09 21:18
Eytukan29-Mar-09 21:18 
AnswerRe: focusing messagebox Pin
Rajesh R Subramanian30-Mar-09 2:05
professionalRajesh R Subramanian30-Mar-09 2:05 
GeneralRe: focusing messagebox Pin
gamefreak229130-Mar-09 3:18
gamefreak229130-Mar-09 3:18 
AnswerRe: focusing messagebox Pin
Rajesh R Subramanian30-Mar-09 3:42
professionalRajesh R Subramanian30-Mar-09 3:42 
Well, I am not sure if you just need a modal message box[^] or you would want to keep your application window system modal. If you just need a system modal message box:
::MessageBox(NULL, _T("Message text goes here"), _T("Messagebox Title"), MB_SYSTEMMODAL);

The MB_SYSTEMMODAL flag specify that the message box should be system modal (on top of all other windows, until dismissed).

If it's your application that you want to set on top of other windows, you could call SetWindowPos()[^] and pass HWND_TOPMOST as the second parameter.


It is a crappy thing, but it's life -^ Carlo Pallini

QuestionSMTP C++ Pin
jcy809629-Mar-09 14:09
jcy809629-Mar-09 14:09 
AnswerRe: SMTP C++ Pin
Joe Woodbury29-Mar-09 15:18
professionalJoe Woodbury29-Mar-09 15:18 
Questiontime difference Pin
Sadaiyappan29-Mar-09 10:15
Sadaiyappan29-Mar-09 10:15 
AnswerRe: time difference Pin
Stuart Dootson29-Mar-09 10:43
professionalStuart Dootson29-Mar-09 10:43 
AnswerRe: time difference Pin
Luc Pattyn29-Mar-09 14:27
sitebuilderLuc Pattyn29-Mar-09 14:27 
QuestionHelp not sure why. Pin
FISH78629-Mar-09 8:18
FISH78629-Mar-09 8:18 
AnswerRe: Help not sure why. Pin
Yusuf29-Mar-09 11:41
Yusuf29-Mar-09 11:41 
AnswerRe: Help not sure why. Pin
CPallini29-Mar-09 21:21
mveCPallini29-Mar-09 21:21 
GeneralRe: Help not sure why. Pin
FISH78630-Mar-09 2:25
FISH78630-Mar-09 2:25 
QuestionRe: Help not sure why. Pin
CPallini30-Mar-09 3:13
mveCPallini30-Mar-09 3:13 
AnswerRe: Help not sure why. Pin
FISH78630-Mar-09 3:20
FISH78630-Mar-09 3:20 
GeneralRe: Help not sure why. Pin
David Crow30-Mar-09 4:16
David Crow30-Mar-09 4:16 
GeneralRe: Help not sure why. [modified] Pin
FISH78630-Mar-09 4:36
FISH78630-Mar-09 4:36 
GeneralRe: Help not sure why. Pin
David Crow30-Mar-09 4:54
David Crow30-Mar-09 4:54 
GeneralRe: Help not sure why. Pin
FISH78630-Mar-09 4:59
FISH78630-Mar-09 4:59 
GeneralRe: Help not sure why. Pin
FISH78630-Mar-09 13:36
FISH78630-Mar-09 13:36 
QuestionMultiple Inheritance problem : CSingleLock : CSingleLock(pObject, bInitialLock) : CSyncObject(mystring) Pin
ForNow29-Mar-09 7:18
ForNow29-Mar-09 7:18 

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.