Exemple #1
0
        private void UpdateCursor()
        {
            Control child_control = GrabControl.GetRealChildAtPoint(Cursor.Position);

            if (child_control != null)
            {
                if (active)
                {
                    XplatUI.SetCursor(child_control.Handle, Cursors.Default.handle);
                }
                else
                {
                    XplatUI.SetCursor(child_control.Handle, child_control.Cursor.handle);
                }
            }
        }
Exemple #2
0
 public void HideWindow()
 {
     XplatUI.SetCursor(form.Handle, form.Cursor.handle);
     MenuTracker.HideSubPopups(menu, null);
     Hide();
 }
Exemple #3
0
 public void ShowWindow()
 {
     XplatUI.SetCursor(form.Handle, Cursors.Default.handle);
     RefreshItems();
     Show();
 }