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. Database & SysAdmin
  3. System Admin
  4. How to draw object like drawing mouse cursor?

How to draw object like drawing mouse cursor?

Scheduled Pinned Locked Moved System Admin
graphicstutorialjsonquestion
3 Posts 2 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.
  • J Offline
    J Offline
    jajamal
    wrote on last edited by
    #1

    I want to draw object like drawing mouse cursor. Explanation. Window and button and etc object is drawn by GDI of system. We can control and draw All window and Desktop. And We can control mousecursor by SetCursor(). But I can't draw object like mouse cursor. For example,, I want to draw a nonmoving triangle like mouse cursor. Can we control the above by GDI32 api ? Please tell me.

    M 1 Reply Last reply
    0
    • J jajamal

      I want to draw object like drawing mouse cursor. Explanation. Window and button and etc object is drawn by GDI of system. We can control and draw All window and Desktop. And We can control mousecursor by SetCursor(). But I can't draw object like mouse cursor. For example,, I want to draw a nonmoving triangle like mouse cursor. Can we control the above by GDI32 api ? Please tell me.

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      LoadImage followed by DrawIconEx, I think.

      J 1 Reply Last reply
      0
      • M Mike Dimmick

        LoadImage followed by DrawIconEx, I think.

        J Offline
        J Offline
        jajamal
        wrote on last edited by
        #3

        Thank you for the reply. I think that your method draws icon a part of window. We can draw alike mouse cursor.But I can't draw mouse cursor. for example, When We push print-screen key ,We can't see mouse cursor in captured screen. I think it is deep than GDI32. By what method do system draw mouse cursor,too? please tell me...

        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