I'm not a newbie, but my programming for Windows is weak. I have multiple programs running on a PC. One is an operator interface, so it usually always has focus.
If an error/warning condition happens on the other programs, I use AfxMessageBox() to generate a popup window for the operator. That's fine is the program generating the popup has focus. My issue is the popup is hidden behind the program with focus.
I'm currently searching the Internet for past cases to point me in a direction, so I've not tried any code changes yet.
Is there a method to make the popup appear over the program with focus so the operator can acknowledge it. The operator can then decide if they need bring up the other program or not.