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 / C++ / MFC
  4. how to see the rest of line in CEdit ?

how to see the rest of line in CEdit ?

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

    Hi, if the the text line is longer than the CEdit control, how to do this: when pointing mouse over the control, the whole line is shown in a tip like rectangle (like when pointing to an item in a listControl, the whole item text is displayed in a rectangle) ? Thanks!

    C 1 Reply Last reply
    0
    • C chenggong

      Hi, if the the text line is longer than the CEdit control, how to do this: when pointing mouse over the control, the whole line is shown in a tip like rectangle (like when pointing to an item in a listControl, the whole item text is displayed in a rectangle) ? Thanks!

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I believe there's an event when the text has been changed ( it's probably changed by the time WM_KEYUP fires ), so just keep setting the tooltip to the current text.

      Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

      C 1 Reply Last reply
      0
      • C Christian Graus

        I believe there's an event when the text has been changed ( it's probably changed by the time WM_KEYUP fires ), so just keep setting the tooltip to the current text.

        Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

        C Offline
        C Offline
        chenggong
        wrote on last edited by
        #3

        Thanks! and, how to set the tooltip to the CEdit text? hope there's a sample code showing it.

        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