Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Changing System Mouse Pointer ????

Changing System Mouse Pointer ????

Scheduled Pinned Locked Moved C#
questioncsharp
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shajuMathew
    wrote on last edited by
    #1

    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

    S H 2 Replies Last reply
    0
    • S shajuMathew

      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

      S Offline
      S Offline
      sreejith ss nair
      wrote on last edited by
      #2

      chnage the cursor property of form or any control. Sreejith S S Nair

      S 1 Reply Last reply
      0
      • S sreejith ss nair

        chnage the cursor property of form or any control. Sreejith S S Nair

        S Offline
        S Offline
        shajuMathew
        wrote on last edited by
        #3

        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

        S 1 Reply Last reply
        0
        • S shajuMathew

          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

          S Offline
          S Offline
          sreejith ss nair
          wrote on last edited by
          #4

          give me a clear picture of your requrement.:-O Sreejith S S Nair

          S 1 Reply Last reply
          0
          • S sreejith ss nair

            give me a clear picture of your requrement.:-O Sreejith S S Nair

            S Offline
            S Offline
            shajuMathew
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • S shajuMathew

              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

              H Offline
              H Offline
              Heath Stewart
              wrote on last edited by
              #6

              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 the SetCursor 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

              S 1 Reply Last reply
              0
              • H Heath Stewart

                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 the SetCursor 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

                S Offline
                S Offline
                shajuMathew
                wrote on last edited by
                #7

                Thanks......... Heath Stewart . Let me try. Regards Shaju MAthew

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups