Hi all I am using ArcGIS 10.2 and creating an Arcmap addin dockable window
The UI is a user control containing a number of .net controls.
(see code below) based on
This works. However I would like to further do the following
1. Prevent user from resizing the user control
2. Make the user control always floating, and not dockable
Is the above feasible?
User control code:
public partial class ucSearchAddress : UserControl
public ucSearchAddress(object hook)
this.Hook = hook;
/// Host object of the dockable window
private object Hook
/// Implementation class of the dockable window add-in. It is responsible for
/// creating and disposing the user interface class of the dockable window.
public class AddinImpl : ESRI.ArcGIS.Desktop.AddIns.DockableWindow
private ucSearchAddress m_windowUI;
protected override IntPtr OnCreateChild()
m_windowUI = new ucSearchAddress(this.Hook);
protected override void Dispose(bool disposing)
if (m_windowUI != null)