Unplanned
Last Updated: 13 May 2020 05:42 by ADMIN

Here's the call I'm making. The ApplicationWindow property type is IWin32Window.  It is coming from an application that inherits from CWinApp.  The message is displayed in the upperleft corner of the screen.

RadMessageBox.Show(gtApp.ApplicationWindow, Resources.SpatialQueryNoRecords, app.Name, MessageBoxButtons.OK, RadMessageIcon.Info);

A similar MessageBox call centers on my application just fine:

MessageBox.Show(gtApp.ApplicationWindow, Resources.SpatialQueryNoRecords, app.Name, MessageBoxButtons.OK, MessageBoxIcon.Information); 

Unplanned
Last Updated: 06 Apr 2020 04:37 by ADMIN

Hi Support, 

I just upgrade my winform plugin version from 2018.1.220.40 to 2020.1.218.40. I notice the popup display for RadMessage has shifted from center of the open form to center of the mdiForm (main application).

Below is the code that I used:
RadMessageBox.Show(this, "No Record Found", "Information", System.Windows.Forms.MessageBoxButtons.OK, new System.Drawing.Bitmap(Properties.Resources.info), System.Windows.Forms.MessageBoxDefaultButton.Button1);

Please advice on how can I rectify this issue.

Thank you.

Completed
Last Updated: 19 Mar 2020 14:37 by ADMIN
Release R2 2020 (LIB 2020.1.323)

when set RadMessageBox.UseCompatibleTextRendering = false;

at runtime is generated System.StackOverflowException. 

To workaround:

private void RadForm1_Load(object sender, EventArgs e)
{

    foreach (Control control in RadMessageBox.Instance.Controls)
    {
        RadControl radControl = control as RadControl;
        if (radControl != null)
        {
            radControl.UseCompatibleTextRendering = false;
        }

    }
}