R
Ron
I have a MFC COM Server that runs in the background.
There is no UI or dialogs other than an occasional
AfxMessageBox that might pop up with messages.
My problem is if the user is running any other app, the
MessageBox pops up behind other loaded windows.
So, I need to be able to set the window position (zorder)
of an AfxMessageBox. I've used SetWindowPos for dialogs
(in which case you pass the handle), but I'm not sure
about a messagebox.
Any help would be appreciated.
There is no UI or dialogs other than an occasional
AfxMessageBox that might pop up with messages.
My problem is if the user is running any other app, the
MessageBox pops up behind other loaded windows.
So, I need to be able to set the window position (zorder)
of an AfxMessageBox. I've used SetWindowPos for dialogs
(in which case you pass the handle), but I'm not sure
about a messagebox.
Any help would be appreciated.