Class for using new features in listview control

Class for using new features in listview control


This class was contributed by Rui Santos. The CListCtrlEx class allows you to easily use the new features in the listview control that comes with IE4. You could also use the Technology Preview from Microsoft but if it is just the listview control you are after you should definitely look into this class.

Download file



Comments

  • Dude you need a DELL, i mean a good example.

    Posted by Legacy on 06/27/2002 12:00am

    Originally posted by: Pharaoh

    ???

    Reply
  • This Sucks

    Posted by Legacy on 04/05/2002 12:00am

    Originally posted by: Bird Man

    Dude...your example really sucked.
    

    Reply
  • Examples of class?

    Posted by Legacy on 09/07/2001 12:00am

    Originally posted by: Barto

    Hi, does anyone have any examples of code where this class is implemented?? much appreciated, thanx

    Reply
  • CListCtrl background image problem solution

    Posted by Legacy on 06/11/2001 12:00am

    Originally posted by: Nikolay Iliev

    Hi,

    list view currently does not support background images supplied as HBITMAP handles. Only way to display background image is to pass the URL, which refer to a local file (e.g. "file://D:\\WINNT\\image.bmp"). You need also to set text background color to CLR_NONE to have a image displayed properly.


    MFC Example:

    ----------------------------------------------------m_list.SetTextBkColor(CLR_NONE);

    LVBKIMAGE bk;
    bk.ulFlags = LVBKIF_SOURCE_URL | LVBKIF_STYLE_NORMAL;
    bk.hbm = NULL;
    bk.pszImage = "file://D:\\WINNT\\image.bmp";
    bk.cchImageMax = strlen(bk.pszImage);
    bk.xOffsetPercent = 50; // centered
    bk.yOffsetPercent = 50; // centered

    m_list.SetBkImage(&bk);
    ----------------------------------------------------

    Regards,
    NI

    Reply
  • Anyone have examples of this class in action?

    Posted by Legacy on 07/23/1999 12:00am

    Originally posted by: Volkan

    Title says it all.

    Thanks,

    -V-

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

Top White Papers and Webcasts

  • Live Event Date: May 6, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT While you likely have very good reasons for remaining on WinXP after end of support -- an estimated 20-30% of worldwide devices still are -- the bottom line is your security risk is now significant. In the absence of security patches, attackers will certainly turn their attention to this new opportunity. Join Lumension Vice President Paul Zimski in this one-hour webcast to discuss risk and, more importantly, 5 pragmatic risk mitigation techniques …

  • On-demand Event Event Date: March 27, 2014 Teams need to deliver quality software faster and need integrated agile planning, task tracking, source control, auto deploy with continuous builds and a configurable process to adapt to the way you work. Rational Team Concert and DevOps Services (JazzHub) have everything you need to build great software, integrated seamlessly together right out of the box or available immediately in the cloud. And with the Rational Team Concert Client, you can connect your …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds