<?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: Wheel pan and zoom during modal dialog in AutoCAD Map 3D Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/wheel-pan-and-zoom-during-modal-dialog/m-p/7548624#M11477</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for answer. I use modless for some of my dialog, but in this case I want a modal dialog.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My drawing&amp;nbsp;is 20 cities large (50km*50km) and I need to link records shown in a datagridview to Cad objects.&lt;/P&gt;
&lt;P&gt;All record doesn't have a corresponding object.&amp;nbsp;So to avoid implementing a Zoom/Pan&amp;nbsp;button I'd like to use a wheel/pan mouse to find good area corresponding to my record.&lt;/P&gt;
&lt;P&gt;I've never used palet but I think it could be the good solution. I haven't enough time for this project to implement this solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it isn't possible in a modal dialog, I add a button to hide my dialog&amp;nbsp;during interaction with AutoCAD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Olivier&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2017 07:37:06 GMT</pubDate>
    <dc:creator>O_Eckmann</dc:creator>
    <dc:date>2017-11-16T07:37:06Z</dc:date>
    <item>
      <title>Wheel pan and zoom during modal dialog</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/wheel-pan-and-zoom-during-modal-dialog/m-p/7547589#M11475</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in some dialog (for example MapClean in Interactive mode) dialog seems to be modal (no other command can be launched) but you can Zoom and Pan with wheel of mouse&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MapClean-Interactiv.png" style="width: 367px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/426771i7D86C41D15B2169D/image-size/large?v=v2&amp;amp;px=999" role="button" title="MapClean-Interactiv.png" alt="MapClean-Interactiv.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How is it possible to reproduce this behaviour in C#, modal dialog, with possibility to zoom and pan with mouse's wheel?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 20:51:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/wheel-pan-and-zoom-during-modal-dialog/m-p/7547589#M11475</guid>
      <dc:creator>O_Eckmann</dc:creator>
      <dc:date>2017-11-15T20:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Wheel pan and zoom during modal dialog</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/wheel-pan-and-zoom-during-modal-dialog/m-p/7547737#M11476</link>
      <description>&lt;P&gt;If you want to interact between form and autocad you have to use "modeless".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog(null, myform, false);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are 5 constructors - you can see them in the Object Browser. &amp;nbsp;There are several examples in the .NET forum (this post should have been there IMO).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;edit&amp;gt; i don't think you can have both - modal behaviour with view control. &amp;nbsp;Certainly not without a bunch of overhead ("where's the mouse" code). &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 21:40:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/wheel-pan-and-zoom-during-modal-dialog/m-p/7547737#M11476</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2017-11-15T21:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Wheel pan and zoom during modal dialog</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/wheel-pan-and-zoom-during-modal-dialog/m-p/7548624#M11477</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for answer. I use modless for some of my dialog, but in this case I want a modal dialog.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My drawing&amp;nbsp;is 20 cities large (50km*50km) and I need to link records shown in a datagridview to Cad objects.&lt;/P&gt;
&lt;P&gt;All record doesn't have a corresponding object.&amp;nbsp;So to avoid implementing a Zoom/Pan&amp;nbsp;button I'd like to use a wheel/pan mouse to find good area corresponding to my record.&lt;/P&gt;
&lt;P&gt;I've never used palet but I think it could be the good solution. I haven't enough time for this project to implement this solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it isn't possible in a modal dialog, I add a button to hide my dialog&amp;nbsp;during interaction with AutoCAD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 07:37:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/wheel-pan-and-zoom-during-modal-dialog/m-p/7548624#M11477</guid>
      <dc:creator>O_Eckmann</dc:creator>
      <dc:date>2017-11-16T07:37:06Z</dc:date>
    </item>
  </channel>
</rss>

