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

  • On-demand Event Event Date: September 10, 2014 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 how the best mobile …

  • Live Event Date: September 17, 2014 @ 12:00 p.m. ET / 9:00 a.m. PT Another day, another end-of-support deadline. You've heard enough about the hazards of not migrating to Windows Server 2008 or 2012. What you may not know is that there's plenty in it for you and your business, like increased automation and performance, time-saving technical features, and a lower total cost of ownership. Check out this upcoming eSeminar and join Rich Holmes, Pomeroy's practice director of virtualization, as he discusses the …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds