Changing System Mouse Pointer ????
-
Hi, I am developing an application like MS Spy. How can i change the mouse pointer of the entire desktop from my c# application. The mouse pointer should behave like the Finder Tool in the Microsoft Spy. Kindly give some idea. Thanks in advance Shaju Mathew
-
Hi, I am developing an application like MS Spy. How can i change the mouse pointer of the entire desktop from my c# application. The mouse pointer should behave like the Finder Tool in the Microsoft Spy. Kindly give some idea. Thanks in advance Shaju Mathew
chnage the cursor property of form or any control. Sreejith S S Nair
-
chnage the cursor property of form or any control. Sreejith S S Nair
Thanks Sreejith.. But that didnot solve my problem Because i want to change the entire desktop's cursor, ie the cursor of all applications. Not just my applications or forms cursor Thanks Shaju
-
Thanks Sreejith.. But that didnot solve my problem Because i want to change the entire desktop's cursor, ie the cursor of all applications. Not just my applications or forms cursor Thanks Shaju
give me a clear picture of your requrement.:-O Sreejith S S Nair
-
give me a clear picture of your requrement.:-O Sreejith S S Nair
Hai, Sreejith As u told if i change the Cursor property of my Form or control, it will only change the cursor of my form. ie if i move the mouse out of my applications area then the cursor will be the cursor of the application below the cursor. But i want to have my cursor for the entire windows opened. You can see this behaviour of cursor in MS Spy. Thanks Shaju
-
Hi, I am developing an application like MS Spy. How can i change the mouse pointer of the entire desktop from my c# application. The mouse pointer should behave like the Finder Tool in the Microsoft Spy. Kindly give some idea. Thanks in advance Shaju Mathew
You can set the cursor to whatever cursor you want (even a custom .cur file) but you should also capture the cursor using the
Capture
property of a foreground window. This causes the foreground window to receive mouse events while outside your Window. You can also P/Invoke theSetCursor
API, but you should read about this API and related APIs (like how to load a cursor) in the Platform SDK on MSDN Online[^].Microsoft MVP, Visual C# My Articles
-
You can set the cursor to whatever cursor you want (even a custom .cur file) but you should also capture the cursor using the
Capture
property of a foreground window. This causes the foreground window to receive mouse events while outside your Window. You can also P/Invoke theSetCursor
API, but you should read about this API and related APIs (like how to load a cursor) in the Platform SDK on MSDN Online[^].Microsoft MVP, Visual C# My Articles
Thanks......... Heath Stewart . Let me try. Regards Shaju MAthew