/// <exclude/> protected override void OnMouseHover(EventArgs e) { base.OnMouseHover(e); IDockContent content = GetHitTest(); if (content != null && DockPanel.ActiveAutoHideContent != content) { DockPanel.ActiveAutoHideContent = content; } // requires further tracking of mouse hover behavior, // call TrackMouseEvent Win32.TRACKMOUSEEVENTS tme = new Win32.TRACKMOUSEEVENTS(Win32.TRACKMOUSEEVENTS.TME_HOVER, Handle, Win32.TRACKMOUSEEVENTS.HOVER_DEFAULT); User32.TrackMouseEvent(ref tme); }
public static extern bool TrackMouseEvent(ref TRACKMOUSEEVENTS tme);
/// <exclude/> protected override void OnMouseHover(EventArgs e) { base.OnMouseHover(e); IDockContent content = GetHitTest(); if (content != null && DockPanel.ActiveAutoHideContent != content) DockPanel.ActiveAutoHideContent = content; // requires further tracking of mouse hover behavior, // call TrackMouseEvent Win32.TRACKMOUSEEVENTS tme = new Win32.TRACKMOUSEEVENTS(Win32.TRACKMOUSEEVENTS.TME_HOVER, Handle, Win32.TRACKMOUSEEVENTS.HOVER_DEFAULT); User32.TrackMouseEvent(ref tme); }