예제 #1
0
 private void OnChildWndProcHitTest(object sender, ViewControlHitTestArgs e)
 {
     if (_ribbonTabs?.GetViewForSpare != null)
     {
         if (_ribbonTabs.GetViewForSpare.ClientRectangle.Contains(e.Point))
         {
             e.Cancel = false;
             e.Result = (IntPtr)PI.HTTRANSPARENT;
         }
     }
 }
예제 #2
0
 /// <summary>
 /// Raises the WndProcHitTest event.
 /// </summary>
 /// <param name="e">A ViewControlHitTestArgs containing the event data.</param>
 protected virtual void OnWndProcHitTest(ViewControlHitTestArgs e) => WndProcHitTest?.Invoke(this, e);