<?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: Find absolute screen coordinates of ActiveView in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144241#M3759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;i think i am not understanding what you are trying to do but; those coordinates should be the upper left corner of the map...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get map coordinates rater than screen coordinates... but I can convert them with IDisplayTransformation.&amp;nbsp; But as I said, point(0,0) is upper left corner of the map window, not the screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am making a ArcMap extension/toolbar. Maybe the results is different if called from a standalone application ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thansk for your effort anyway!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Feb 2011 10:47:40 GMT</pubDate>
    <dc:creator>OlaRennemo</dc:creator>
    <dc:date>2011-02-28T10:47:40Z</dc:date>
    <item>
      <title>Find absolute screen coordinates of ActiveView</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144234#M3752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I cant find the absolute screen coordinates of IMxDocument.ActiveView upper left corner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using dotnet: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I try to obtain position via component reference:&amp;nbsp; "System.Windows.Forms.Control.FromHandle(new IntPtr(ActiveView.ScreenDisplay.hWnd))" I get NULL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feeling this should be very simple, but maybe its not..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Ola&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I forgot to mention: This is an ArcMap extension with a toolbar.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 11:35:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144234#M3752</guid>
      <dc:creator>OlaRennemo</dc:creator>
      <dc:date>2011-02-24T11:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Find absolute screen coordinates of ActiveView</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144235#M3753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://www.scs.ryerson.ca/~cps613/AssignmentReferences/DragDrop.shtml#Coordinates"&gt;http://www.scs.ryerson.ca/~cps613/AssignmentReferences/DragDrop.shtml#Coordinates&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would this work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 13:26:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144235#M3753</guid>
      <dc:creator>RuchiraWelikala</dc:creator>
      <dc:date>2011-02-24T13:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Find absolute screen coordinates of ActiveView</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144236#M3754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My.ArcMap.Document.ActiveView.Extent.XMin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My.ArcMap.Document.ActiveView.Extent.YMax&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 16:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144236#M3754</guid>
      <dc:creator>maxsteinbrenner</dc:creator>
      <dc:date>2011-02-24T16:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Find absolute screen coordinates of ActiveView</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144237#M3755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;A href="http://www.scs.ryerson.ca/~cps613/AssignmentReferences/DragDrop.shtml#Coordinates"&gt;http://www.scs.ryerson.ca/~cps613/AssignmentReferences/DragDrop.shtml#Coordinates&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Would this work?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not quite. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mouse positions are not availible at the time I need them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 06:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144237#M3755</guid>
      <dc:creator>OlaRennemo</dc:creator>
      <dc:date>2011-02-25T06:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Find absolute screen coordinates of ActiveView</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144238#M3756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;try:&lt;BR /&gt;&lt;BR /&gt;My.ArcMap.Document.ActiveView.Extent.XMin&lt;BR /&gt;My.ArcMap.Document.ActiveView.Extent.YMax&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This gives me real world coordinates, not screen coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can convert them the to screen coordinates, but they are always relative to the upper left corner of the map. So I need the map position as well...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 06:25:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144238#M3756</guid>
      <dc:creator>OlaRennemo</dc:creator>
      <dc:date>2011-02-25T06:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Find absolute screen coordinates of ActiveView</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144239#M3757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So I need the map position as well...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i think i am not understanding what you are trying to do but; those coordinates should be the upper left corner of the map...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 10:48:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144239#M3757</guid>
      <dc:creator>maxsteinbrenner</dc:creator>
      <dc:date>2011-02-25T10:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Find absolute screen coordinates of ActiveView</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144240#M3758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried using the display transformation object?&amp;nbsp; It's available through IScreenDisplay.DisplayTransformation.&amp;nbsp; It may give you what you're looking for.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 17:16:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144240#M3758</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-02-25T17:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Find absolute screen coordinates of ActiveView</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144241#M3759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;i think i am not understanding what you are trying to do but; those coordinates should be the upper left corner of the map...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get map coordinates rater than screen coordinates... but I can convert them with IDisplayTransformation.&amp;nbsp; But as I said, point(0,0) is upper left corner of the map window, not the screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am making a ArcMap extension/toolbar. Maybe the results is different if called from a standalone application ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thansk for your effort anyway!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 10:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-absolute-screen-coordinates-of-activeview/m-p/144241#M3759</guid>
      <dc:creator>OlaRennemo</dc:creator>
      <dc:date>2011-02-28T10:47:40Z</dc:date>
    </item>
  </channel>
</rss>

