Пример #1
0
 protected bool IsCursorOnDivider()
 {
     HD_HITTESTINFO hti = new HD_HITTESTINFO();
       hti.pt.x = LastMousePosition.X;
       hti.pt.y = LastMousePosition.Y;
       WindowsAPI.SendMessage( hHeader, ( int )HeaderControlMessages.HDM_HITTEST, 0, ref hti );
       bool hit = ( hti.flags == ( int )HeaderControlHitTestFlags.HHT_ONDIVIDER );
       return hit;
 }
Пример #2
0
 public static extern void SendMessage(IntPtr hWnd, int msg, int wParam, ref HD_HITTESTINFO hti);
Пример #3
0
 public static extern void SendMessage(IntPtr hWnd, int msg, int wParam, ref HD_HITTESTINFO hti);