In my program i pop up a message box at some point. If there are other windows open, then the message box goes into the background. I wanted to bring the messagebox into foreground. I tried using MB_TOPMOST|MB_SETFOREGROUND flag in the message box function, but did not get the expected result.
Please let me know the solution for this prob, I have a vc++ prg and am using MFC
Adding MB_SYSTEMMODAL. gave me the required soln.