<?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 AXMap GUI Control Problem on WinForms Host in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/axmap-gui-control-problem-on-winforms-host/m-p/179234#M4638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got a problem displaying AxMapControl used to display ReconcileConflicts on a MapDocument.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are two WinFormsHosts on a usercontrol. Everyone shows a AxMapControl. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Conflicted Features are properly loaded into a ListView. After this every AxMapControl loads a mxdocument&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;After finished creating the window the workspace version of the mapcontrols is changed to one of the virtual reconcile versions.&lt;/LI&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;First shows current state of the user.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The other one shows state of the parent version.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt; &lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;Problem is, that the UI of the Window is corrupt and the other thing is, that I had a layer of a ArcGIS MapServer on the mxdoc file which is not more visible in TOC Control.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like the AxMapControl is doing this. I found out if I don't "setBuddyControl" of the TOC and the ToolBarControl it works better but still kills the UI of the window. Map is still not usable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any problems known like mine? Hope there are some specialists who know something about. Maybe you can also tell me how to dispose a AxMapControl when closing the window and reopen. Data seems to stay in memory in some case. Only one I've found was a ADF Class which seems not to be used for usual windows apps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2012 12:56:22 GMT</pubDate>
    <dc:creator>JanKorte</dc:creator>
    <dc:date>2012-04-23T12:56:22Z</dc:date>
    <item>
      <title>AXMap GUI Control Problem on WinForms Host</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/axmap-gui-control-problem-on-winforms-host/m-p/179234#M4638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got a problem displaying AxMapControl used to display ReconcileConflicts on a MapDocument.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are two WinFormsHosts on a usercontrol. Everyone shows a AxMapControl. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Conflicted Features are properly loaded into a ListView. After this every AxMapControl loads a mxdocument&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;After finished creating the window the workspace version of the mapcontrols is changed to one of the virtual reconcile versions.&lt;/LI&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;First shows current state of the user.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The other one shows state of the parent version.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt; &lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;Problem is, that the UI of the Window is corrupt and the other thing is, that I had a layer of a ArcGIS MapServer on the mxdoc file which is not more visible in TOC Control.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like the AxMapControl is doing this. I found out if I don't "setBuddyControl" of the TOC and the ToolBarControl it works better but still kills the UI of the window. Map is still not usable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any problems known like mine? Hope there are some specialists who know something about. Maybe you can also tell me how to dispose a AxMapControl when closing the window and reopen. Data seems to stay in memory in some case. Only one I've found was a ADF Class which seems not to be used for usual windows apps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 12:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/axmap-gui-control-problem-on-winforms-host/m-p/179234#M4638</guid>
      <dc:creator>JanKorte</dc:creator>
      <dc:date>2012-04-23T12:56:22Z</dc:date>
    </item>
  </channel>
</rss>

