If this works on .Net and does not work on Mono, please file a bug with 
your test case in our bugzilla:

http://www.mono-project.com/Bugs

Thanks!
Jonathan


bingshiue wrote:
> In My Project,I need run in Full Screen and Hide Mouse Cursor.
> 
> But The Cursor Don't Hide in Program Runnung
> 
> How Can I Hide Mouse Cursor ???
> 
> http://www.nabble.com/file/p17454106/cursor-in.png 
> 
> http://www.nabble.com/file/p17454106/cursor-out.png 
> 
> using System;
> using System.ComponentModel;
> 
> using System.Drawing;
> 
> using System.Text;
> using System.Windows.Forms;
> 
> namespace Monoform
> {
>   public class HelloWorld : Form
>   {
>       
>               
>               
>        static public void Main (string[] args)
>        {
>               //Application.Run (new HelloWorld ());
>               HelloWorld helloworld = new HelloWorld();
>  
>               helloworld.Activate();
>               helloworld.Show();
>               
>                       
>               Application.Run();
>               Application.DoEvents();
>          
>        }
>  
>        public HelloWorld ()
>        {
>               Text = "Hello Mono World";
>       this.MouseEnter += new EventHandler(Game_MouseEnter);
>          this.MouseLeave += new EventHandler(Game_MouseLeave);
>               
>        }
>               
>     public void Game_MouseEnter(object sender, EventArgs e)
> 
>       {
> 
>             //throw new Exception("The method or operation is not
> implemented.");
> 
>               Text = "Cursoe In";
>                            Cursor.Hide();
> 
>       }     
>               
>     public void Game_MouseLeave(object sender, EventArgs e)
> 
>       {
> 
>             //throw new Exception("The method or operation is not
> implemented.");
> 
>               Text = "Cursoe Out";
>                            Cursor.Hide();
> 
>       }               
>               
>               
>               
>     }
> }

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to