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: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • Live Event Date: October 23, 2014 @ 12:00 p.m. ET / 9:00 a.m. PT Despite the current "virtualize everything" mentality, there are advantages to utilizing physical hardware for certain tasks. This is especially true for backups. In many cases, it is clearly in an organization's best interest to make use of physical, purpose-built backup appliances rather than relying on virtual backup software (VBA - Virtual Backup Appliances). Join us for this eSeminar to learn why physical appliances are preferable to …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds