Advertisement Jump to content
Sign in to follow this  
Daniel Miller

Annoying listview problem.

This topic is 4968 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
You could use the LVM_SETITEMSTATE message with the LVIS_CUT style; but that's the closest you could get to having the items appear "disabled" without subclassing the Listview. None of the other listview item states would be suitable, I'm guessing (drophilighted, selected, focused...)

Share this post


Link to post
Share on other sites
Quote:
Original post by Daniel Miller
I think what I will do is leave the listview enabled, but disable the buttons that control it. Thanks! :)


You could also intercept the WM_NOTIFY messages when there's a button click on a Listview item, and then "do nothing"... unselect the item that was clicked, or something.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!