I need to get error and information messages to the user if the program finds mistakes. I am using messagebox in a win32 console application but the messagebox appears underneath other windows. How can I get it to appear on top? This is written in "C" and I am not using MFC.
The function I am using is this:
MessageBox (GetActiveWindow(), msg, "NO File Found!", MB_ICONERROR | MB_OK);
I am open to other suggestions also.
Thanks in advance,
Jim
Start Free Trial