Full row selection and title tips


This article was contributed by Matthew Bells.

This code is an enhancement to the code by Zafir Anjum and Mark Findlay which provides full row highlighting and TitleTips enhancements for the CListCtrl. If you've noticed in MS-Dev, the TittleTips show highlighting. This code is an extension which has TitleTips which can change colors as well as performance enhancements to reduce flickering.

Another useful addition is notifying the parent window of the CListCtrl when the selection has changed - useful if you want to disable buttons if options are not available. For an example, look in the control panel network services (WinNT); the "Properties" buttons will disable if the selection does not have properties. This is done by sending a notification to the parent window. Since there have been many changes, i have attached the full source. Download files

Comments:



Comments

  • bug

    Posted by gang_feng on 01/10/2006 09:38pm

    how to limit Rect?

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: September 10, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild". This loop of continuous delivery and continuous feedback is …

  • The first phase of API management was about realizing the business value of APIs. This next wave of API management enables the hyper-connected enterprise to drive and scale their businesses as API models become more complex and sophisticated. Today, real world product launches begin with an API program and strategy in mind. This API-first approach to development will only continue to increase, driven by an increasingly interconnected web of devices, organizations, and people. To support this rapid growth, …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds