Is there a way to center the message box over the current form ?

This is not a feature that is built into the MessageBox class and the message box is always centered over the desktop.  I have found some examples written in C# on how to do this but they run for many lines of code and my C# training is not far enough along to where I can translate them into Visual COBOL.  Has anyone written a routine for this in Visual COBOL ?  Our other option would be to write our own message class or use a third-party control that allows positioning.

Tags: