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. HitTest on a CListCtrl

HitTest on a CListCtrl

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

    Hi I have a CListctrl & Iam intersted in creating a tooltip in the form f a PopUp window when I select any item in the CListCtrl . Can anybody explain how I can do this ?? Any Sample code would be very useful. The ClistCtrl is placed in a dialog box. When I try to implement the OnLButtonDown to know whether the left button of mouse is clicked inside the control, it doesn't respond but actually, the control is being trapped by the parent window ( Dialog Box ). Eventually the HitTest member function of the CListCtrl fails. Thanks regards Sankar

    M 1 Reply Last reply
    0
    • S sankar

      Hi I have a CListctrl & Iam intersted in creating a tooltip in the form f a PopUp window when I select any item in the CListCtrl . Can anybody explain how I can do this ?? Any Sample code would be very useful. The ClistCtrl is placed in a dialog box. When I try to implement the OnLButtonDown to know whether the left button of mouse is clicked inside the control, it doesn't respond but actually, the control is being trapped by the parent window ( Dialog Box ). Eventually the HitTest member function of the CListCtrl fails. Thanks regards Sankar

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      Handle LVN_ITEMCHANGING (or LVN_ITEMCHANGED) to be notified before (after) the selection changes. --Mike-- http://home.inreach.com/mdunn/ #include "buffy_sig"

      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