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

  • IBM Worklight is a mobile application development platform that lets you extend your business to mobile devices. It is designed to provide an open, comprehensive platform to build, run and manage HTML5, hybrid and native mobile apps.

  • Recently, Forrester Consulting conducted a Total Economic Impact™ (TEI) study to better understand the impact of incorporating Polycom voice solutions with Microsoft Lync. Forrester interviewed a company that had already deployed the Lync/Polycom combination to determine its potential return on investment (ROI). Microsoft Lync provides presence information and promotes voice and video collaboration. Polycom extends the benefits of Lync with voice endpoints and further enables collaboration in multiple …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds