<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MessageBox in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/messagebox/m-p/826657#M3074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I change the layout (template) of the [InternalMessageBox]?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can play with the Live Visual Tree and get the appropriate behavior and style. &lt;BR /&gt;But how can I add that in the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, from this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/248718_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;I want to make this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/248716_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2016 19:04:54 GMT</pubDate>
    <dc:creator>HoriaTudosie</dc:creator>
    <dc:date>2016-10-20T19:04:54Z</dc:date>
    <item>
      <title>MessageBox</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/messagebox/m-p/826655#M3072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot get right functionality in ArcGIS Pro for a MessageBox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;using&lt;/SPAN&gt; MessageBox &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; ArcGIS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Desktop&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Framework&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Dialogs&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MessageBox&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but this is what I get:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/244116_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issues:&lt;/P&gt;&lt;P&gt;1.The icon is vertically center-aligned - should be top! in this screen, I can see only half of it.&lt;/P&gt;&lt;P&gt;2. There is no scroll bar and the message box cannot be resized.&lt;/P&gt;&lt;P&gt;3. Content cannot be highlighted and/or copied to the Clipboard.&lt;/P&gt;&lt;P&gt;4. (Title is center-aligned instead of left-aligned.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another name space containing MessageBox more suitable for ArcGIS Pro?&lt;BR /&gt;(Is it such namespace suitable also for various dialogs?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:57:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/messagebox/m-p/826655#M3072</guid>
      <dc:creator>HoriaTudosie</dc:creator>
      <dc:date>2021-12-12T09:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: MessageBox</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/messagebox/m-p/826656#M3073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Horia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;It looks like the designer of the Pro Framework's message box didn't take large amounts of text into account.&amp;nbsp; We will have the dev team take a look at that.&amp;nbsp; However,&amp;nbsp;I have a solution in&amp;nbsp;regards to your item 3)&lt;BR /&gt;&lt;EM&gt;3. Content cannot be highlighted and/or copied to the clipboard&lt;/EM&gt; &lt;BR /&gt;If your messagebox window has system focus, you can use the Ctrl+C (copy command) to copy&amp;nbsp;the content of the message box to the clipboard.&amp;nbsp; It appears that all text on the messagebox (even if it's clipped by the display) is copied to the clipboard.&amp;nbsp; This is the same feature that exists in the Window's system message box control.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 21:23:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/messagebox/m-p/826656#M3073</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2016-10-12T21:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: MessageBox</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/messagebox/m-p/826657#M3074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I change the layout (template) of the [InternalMessageBox]?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can play with the Live Visual Tree and get the appropriate behavior and style. &lt;BR /&gt;But how can I add that in the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, from this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/248718_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;I want to make this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/248716_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 19:04:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/messagebox/m-p/826657#M3074</guid>
      <dc:creator>HoriaTudosie</dc:creator>
      <dc:date>2016-10-20T19:04:54Z</dc:date>
    </item>
  </channel>
</rss>

