dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: What is the difference between LVHT_ONITEMICON and LVHT_ONITEMSTATEICON?

  1. #1
    Join Date
    Jul 2005
    Posts
    1,030

    What is the difference between LVHT_ONITEMICON and LVHT_ONITEMSTATEICON?

    In the list control in MFC, LVHT_ONITEMICON and LVHT_ONITEMSTATEICON stand for different positions in list control. I wonder what is the difference between them? Thanks.

  2. #2
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,527

    Re: What is the difference between LVHT_ONITEMICON and LVHT_ONITEMSTATEICON?

    LVHT_ONITEMICON means "The position is over a list view item's icon"
    LVHT_ONITEMSTATEICON means "The position is over the state image of a list view item"
    The state image icon is the one used for the checkbox in the list control with the LVS_EX_CHECKBOXES extended style
    Victor Nijegorodov

  3. #3
    Join Date
    Jul 2005
    Posts
    1,030

    Re: What is the difference between LVHT_ONITEMICON and LVHT_ONITEMSTATEICON?

    I see. Thanks a lot.
    Quote Originally Posted by VictorN View Post
    LVHT_ONITEMICON means "The position is over a list view item's icon"
    LVHT_ONITEMSTATEICON means "The position is over the state image of a list view item"
    The state image icon is the one used for the checkbox in the list control with the LVS_EX_CHECKBOXES extended style

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)