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. Events in edit control

Events in edit control

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 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.
  • K Offline
    K Offline
    KVHK
    wrote on last edited by
    #1

    hi All I want to display text in a window (with scroll bars). I need to trap the user mouse clicks inside the control (line number where mouse was clicked ...like that). how can i do it... thanx

    C 1 Reply Last reply
    0
    • K KVHK

      hi All I want to display text in a window (with scroll bars). I need to trap the user mouse clicks inside the control (line number where mouse was clicked ...like that). how can i do it... thanx

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      handle WM_LBUTTONDOWN (use the class wizard to set up the function for you). this will tell you when a click happens, and where it happened. -c


      To explain Donald Knuth's relevance to computing is like explaining Paul's relevance to the Catholic Church. He isn't God, he isn't the Son of God, but he was sent by God to explain God to the masses.
         /. #3848917

      Fractals!

      H 1 Reply Last reply
      0
      • C Chris Losinger

        handle WM_LBUTTONDOWN (use the class wizard to set up the function for you). this will tell you when a click happens, and where it happened. -c


        To explain Donald Knuth's relevance to computing is like explaining Paul's relevance to the Catholic Church. He isn't God, he isn't the Son of God, but he was sent by God to explain God to the masses.
           /. #3848917

        Fractals!

        H Offline
        H Offline
        harish kota
        wrote on last edited by
        #3

        thanx chris but can i handle this event in Edit Control? harish

        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