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: August 20, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT When you look at natural user interfaces as a developer, it isn't just fun and games. There are some very serious, real-world usage models of how things can help make the world a better place – things like Intel® RealSense™ technology. Check out this upcoming eSeminar and join the panel of experts, both from inside and outside of Intel, as they discuss how natural user interfaces will likely be getting adopted in a wide variety …

  • Protecting business operations means shifting the priorities around availability from disaster recovery to business continuity. Enterprises are shifting their focus from recovery from a disaster to preventing the disaster in the first place. With this change in mindset, disaster recovery is no longer the first line of defense; the organizations with a smarter business continuity practice are less impacted when disasters strike. This SmartSelect will provide insight to help guide your enterprise toward better …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds