Flat List Box

Download the source

This took about 10 minutes to create. I based this on my CFlatEdit control which was based on Kirk Stowell's CFlatComboBox control Pretty easy to use. Nice control actually. I like the flat look so these are some pretty useful classes to me

Information

To Use this class :

Create a new class member of type CFlatListBox for an edit control in your dialog Make sure to have #include "FlatListBox.h" at the top of that dialogs .h file Thats It!

NOTE: For best appearance, under the properties for your edit control, deselect 'border' and select 'static edge'

For the CFlatListBox class to appear in the new member variable dialog for an edit control, you must rebuild the class information You can do this by deleting the .clw file in your project directory. When you go into class wizard, it will ask you to rebuild your class info from files.

Select all the c, cpp, and h files in that directory and add them all

Last updated: 17 October 1998



Comments

  • Scrollbar

    Posted by Legacy on 08/26/1999 12:00am

    Originally posted by: Paul Reynolds

    What about the scrollbar? Looks rather strange having a flat listbox, and yet standard scrollbars...

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

Top White Papers and Webcasts

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • With the average hard drive now averaging one terabyte in size, the fallout from the explosion of user-created data has become an overwhelming volume of potential evidence that law-enforcement and corporate investigators spend countless hours examining. Join Us and SANS' Rob Lee for our 45-minute webinar, A Triage and Collection Strategy for Time-Sensitive Investigations, will demonstrate how to: Identify the folders and files that often contain key insights Reduce the time spent sifting through content by …

Most Popular Programming Stories

More for Developers

RSS Feeds