htudosieesri-ca-esridist

MessageBox

Discussion created by htudosieesri-ca-esridist Employee on Oct 12, 2016
Latest reply on Oct 20, 2016 by htudosieesri-ca-esridist

I cannot get right functionality in ArcGIS Pro for a MessageBox.

 

I'm using:

 

using MessageBox = ArcGIS.Desktop.Framework.Dialogs.MessageBox;

but this is what I get:

 

Issues:

1.The icon is vertically center-aligned - should be top! in this screen, I can see only half of it.

2. There is no scroll bar and the message box cannot be resized.

3. Content cannot be highlighted and/or copied to the Clipboard.

4. (Title is center-aligned instead of left-aligned.)

 

I could use the System.Windows.Forms.MessageBox instead, but this one is not modal and usually ends up under the main ArcGIS Pro window!

 

Is there another name space containing MessageBox more suitable for ArcGIS Pro?
(Is it such namespace suitable also for various dialogs?)

Outcomes