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

  • On-demand Event Event Date: December 18, 2014 The Internet of Things (IoT) incorporates physical devices into business processes using predictive analytics. While it relies heavily on existing Internet technologies, it differs by including physical devices, specialized protocols, physical analytics, and a unique partner network. To capture the real business value of IoT, the industry must move beyond customized projects to general patterns and platforms. Check out this webcast and join industry experts as …

  • The advent of compute accelerators, special purpose coprocessors that significantly improve the performance of traditional host-based central processing unit (CPU) computations, represents a major transition in the tools available to achieve supercomputing power. This white paper presents Dell solution offerings and shows how they push the envelope of available solutions that bring immediate added value to HPC users in terms of integration, flexibility, and efficiency of hybrid compute solutions.

Most Popular Programming Stories

More for Developers

RSS Feeds