I have a probem with a MessageDlg box going behind a stay on top form when the application loses focus, I run another program or click on another window on the desktop. Is there a way to make a MessageDlg stay on top? I saw in the help file where you could set a property MB_SYSTEMMODAL or MB_SETFOREGROUND or MB_TOPMOST to get it to stay on top. Our program uses MessageDlg() calls to display messages.Is there anyway to get MessageDlg to stay on top so it doesn't end up behind the main form when the application loses focus.
I am using Delphi 2005.
I am using Delphi 2005.