/// <exclude/>
        protected override void OnMouseHover(EventArgs e)
        {
            base.OnMouseHover(e);

            DockContent 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);
        }
Esempio n. 2
0
 public static extern bool TrackMouseEvent(ref TRACKMOUSEEVENTS tme);
Esempio n. 3
0
		/// <exclude/>
		protected override void OnMouseHover(EventArgs e)
		{
			base.OnMouseHover(e);

			DockContent 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);
		}