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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. cursors problem

cursors problem

Scheduled Pinned Locked Moved C#
questioncsharphelptutorial
4 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.
  • E Offline
    E Offline
    edel_ong
    wrote on last edited by
    #1

    How can I add custom cursors to C#? I have the .cr file but I don't know how to use it on my application... thanks a lot!

    R 1 Reply Last reply
    0
    • E edel_ong

      How can I add custom cursors to C#? I have the .cr file but I don't know how to use it on my application... thanks a lot!

      R Offline
      R Offline
      Robert Rohde
      wrote on last edited by
      #2

      Cursor.Current = new Cursor("MyCursorFile.cur"); Note that the Cursor class is limited to non animated two color cursors.

      E 1 Reply Last reply
      0
      • R Robert Rohde

        Cursor.Current = new Cursor("MyCursorFile.cur"); Note that the Cursor class is limited to non animated two color cursors.

        E Offline
        E Offline
        edel_ong
        wrote on last edited by
        #3

        where must I place the MyCursorFile.cur for C# to be able to access it? Two-color only? :(

        D 1 Reply Last reply
        0
        • E edel_ong

          where must I place the MyCursorFile.cur for C# to be able to access it? Two-color only? :(

          D Offline
          D Offline
          DigitalKing
          wrote on last edited by
          #4

          Put it in the same folder as the executable of your application. You can also specify an absolute path "C:\\MyCursorFile.cur"

          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