Tag Info

New answers tagged

0

Finally I got my answer. I thought it would be good if I answer the question. ILogicalOp Interface is the interface for raster comparison. This interface has all method for comparison.


1

Please read the following information. http://developers.arcgis.com/en/javascript/jshelp/ags_proxy.html In the "ASP.NET" section, there is the instruction for IIS, and also you can download "proxypage_net.zip" which include proxy.ashx. Hope this helps you.


1

The reason is, because mouse wheel event is enabled for only activated window (focused window). So, when you press the tool, then MapControl lost focus and the tool command (window) will get focus. Here the sample how to set focus on MapControl when you activate the custom tool. [DllImport("user32.dll")] static extern IntPtr SetFocus(IntPtr hWnd); /// ...


1

I had a similar problem with a custom tool. I have a custom form which gets opened by a button on an AddIn-Toolbar in ArcGis 10.x. On this form there is a button that should retreive the coordinates of a click in the map, snapping included. I could start the tool and handle the click in the map, but I could not get the value back to my form, because the cast ...


0

concerning the Pan using the click on mouse wheel private void axMapControl1_OnMouseDown(object sender, IMapControlEvents2_OnMouseDownEvent e) { if (e.button == 4) { //MapControl map = (MapControl)((ToolbarControl)hookHelper.getHook()).getBuddy(); display = axMapControl1.ActiveView.ScreenDisplay; ...


1

I found two solutions for my question. The first one is to override the ProcessCmdKey method in my DockableWindow class e.g: protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == (Keys.Alt | Keys.A)) { button1.PerformClick(); return true; } if (keyData == (Keys.Alt | Keys.B)) { ...


1

If your Methods is capsulated to ArcMap Command, you could use AcceleratorTable. IAcceleratorTable pAccTable = m_app.Document.Accelerators; UID uid = new UIDClass(); //Some command uid uid.Value = "{E1F29C6B-4E6B-11D2-AE2C-080009EC732A}"; bool addedAcc = pAccTable.Add(uid, System.Convert.ToInt32(System.Windows.Forms.Keys.A), true, false, false) ; But, if ...



Top 50 recent answers are included