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

  • Confused by all the agile advice? Relax! With the Agile for Dummies eBook by your side you'll learn the fundamentals of agile and how to increase the productivity of your software teams while enabling them to produce higher-quality solutions that better fulfill customer needs much faster.

  • Live Event Date: April 22, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Database professionals — whether developers or DBAs — can often save valuable time by learning to get the most from their new or existing productivity tools. Whether you're responsible for managing database projects, performing database health checks and reporting, analyzing code, or measuring software engineering metrics, it's likely you're not taking advantage of some of the lesser-known features of Toad from Dell. Attend this live …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds