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 …

  • Hundreds of millions of users have adopted public cloud storage solutions to satisfy their Private Online File Sharing and Collaboration (OFS) needs. With new headlines on cloud privacy issues appearing almost daily, the need to explore private alternatives has never been stronger. Join ESG Senior Analyst Terri McClure and Connected Data in this on-demand webinar to take a look at the business drivers behind OFS adoption, how organizations can benefit from on-premise deployments, and emerging private OFS …

Most Popular Programming Stories

More for Developers

RSS Feeds