Timeline for How to display custom context menu during create feature task?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 12, 2013 at 23:52 | comment | added | Michael Stimson | The IWindowPosition object will give you the location of the ArcMap frame, this post discusses the windows location of the screen display link | |
Feb 12, 2013 at 23:29 | comment | added | Michael Stimson | My apologies for the one line answer, I was in a hurry when I wrote it. In order to dismiss the existing context menu one must override the OnContextMenu then you can use the OnMouseDown (if Button == 2) for a right click. The coordinates given for the OnMouseDown are in screen coordinates from the application (ArcMap) window, once you know ArcMap's location add it to the X and Y to set the form properties me.Left and me.Top (I think that's VB but C# has something similar). | |
Feb 11, 2013 at 8:15 | history | edited | urcm | CC BY-SA 3.0 |
improved formatting
|
S Feb 11, 2013 at 5:54 | review | Late answers | |||
Feb 11, 2013 at 6:26 | |||||
S Feb 11, 2013 at 5:54 | review | First posts | |||
Feb 11, 2013 at 6:26 | |||||
Feb 11, 2013 at 5:35 | history | answered | Michael Stimson | CC BY-SA 3.0 |