Is there a way that I can hide and show the mouse?
I tried to set:
this.IsMouseInBrume = false;
but I get an error that says it's a method group??
Thanks for the help,
Dan
Moderator: Brume Dev Team
public bool IsMouseInBrume()
using System.Windows.Forms;
...
...
Cursor.Hide();
public Test()
{
this.MouseEnter += new System.EventHandler(this.event_MouseEnter);
this.MouseLeave += new System.EventHandler(this.event_MouseLeave);
}
private void event_MouseEnter(object sender, System.EventArgs e)
{
System.Windows.Forms.Cursor.Hide();
}
private void event_MouseLeave(object sender, System.EventArgs e)
{
System.Windows.Forms.Cursor.Show();
}
Users browsing this forum: No registered users and 0 guests