Hide Cursor in my Application
-
In my Application i want to Hide Cursor. i want to disable right click,..left click menu strip all. I try with Cursor.Show(); ShowCursor(1); [DllImport("user32")] public static extern int ShowCursor(int bShow); but it is not success.Also i need to enable the mouse in one page. i have an internet page also in my application i want to enable the cursor in that page. So what is the best solution for my application?
-
In my Application i want to Hide Cursor. i want to disable right click,..left click menu strip all. I try with Cursor.Show(); ShowCursor(1); [DllImport("user32")] public static extern int ShowCursor(int bShow); but it is not success.Also i need to enable the mouse in one page. i have an internet page also in my application i want to enable the cursor in that page. So what is the best solution for my application?
-
Cursor.Hide();
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Expect everything to be hard and then enjoy the things that come easy. (code-frog)yes Cursor.Hide(); is correct. Only thing is we need to balance Cursor.Hide() and Cursor.Show() we can do it by from win API also that do the same,.. ShowCursor(0) and ShowCursor(1) [DllImport("user32")] public static extern int ShowCursor(int bShow);