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. highlight list control items using mouse

highlight list control items using mouse

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

    Hi all, if you open windows explorer (i am using winXP), and you try to highlight (select) some items with the mouse, there is only one column that if the selection rectangle passes it begins to highlight. i have a my inherite list control, but only the first column responds to this highlight...i need that the second column to respond and not the first... can any1 help? thanks in advanced Yaron

    Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)

    S 1 Reply Last reply
    0
    • Y YaronNir

      Hi all, if you open windows explorer (i am using winXP), and you try to highlight (select) some items with the mouse, there is only one column that if the selection rectangle passes it begins to highlight. i have a my inherite list control, but only the first column responds to this highlight...i need that the second column to respond and not the first... can any1 help? thanks in advanced Yaron

      Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)

      S Offline
      S Offline
      Sunil P V
      wrote on last edited by
      #2

      let the list control object be m_myListCtrl for full row select set the style as follows m_myListCtrl.SetExStyle( m_myListCtrl.GetExStyle() | LVS_EX_FULLROWSELECT); or m_myListCtrl.SetExStyle( m_myListCtrl.GetExStyle() | LVS_FULLROWSELECT); This will set full row selection.;P

      Sunil

      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