olamr

Find absolute screen coordinates of ActiveView

Discussion created by olamr on Feb 24, 2011
Latest reply on Feb 28, 2011 by olamr
Hi all, I cant find the absolute screen coordinates of IMxDocument.ActiveView upper left corner.
Using dotnet:
If I try to obtain position via component reference:  "System.Windows.Forms.Control.FromHandle(new IntPtr(ActiveView.ScreenDisplay.hWnd))" I get NULL.
I have a feeling this should be very simple, but maybe its not..
Thanks for any help!
-Ola

I forgot to mention: This is an ArcMap extension with a toolbar.

Outcomes