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 / C++ / MFC
  4. how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ?

how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 Posts 4 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.
  • I Offline
    I Offline
    iampradeepsharma
    wrote on last edited by
    #1

    how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ?

    C V S 3 Replies Last reply
    0
    • I iampradeepsharma

      how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ?

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      What do you mean exactly ? :confused: Could you please give more information about what you are trying to do ?

      Cédric Moonen Software developer
      Charting control [v3.0] OpenGL game tutorial in C++

      1 Reply Last reply
      0
      • I iampradeepsharma

        how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ?

        V Offline
        V Offline
        venkatmakam
        wrote on last edited by
        #3

        iampradeepsharma wrote:

        how to get the code of OnLButtonDown and OnMouseMove etc

        Do you want generate your own OnLButtonDown and OnMouseMove messages or you want to use that methods functionality?

        http://www.mono-project.com/Main\_Page

        1 Reply Last reply
        0
        • I iampradeepsharma

          how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ?

          S Offline
          S Offline
          Sarath C
          wrote on last edited by
          #4

          Your questions is not really clear. You can see the mouse state Using GetKeyState function. You can know the mouse position using GetCursorPos Check if this helps?[^]

          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