I was thinking about designing a GUI/GDI template library. The main ideas are: 1. Create a portable template abstraction for standard GUI/GDI elements and dialog boxes. 2. Design an "iterator-like" interface. 3. The most important goal is design a natural connection between STL containers and GUI elements, so that STL data can be easily presented in the GUI environment.
For example template < typename IT, typename PhysicalGuiLayer > class ListControl { public: template < typename Filter, typename Format > void push_back( IT& FirstIt, IT& EndIt, Filter& filter, Format& format ) { for( IT it = FirstIt; it < EndIt; ++it ) { if( filter(it) ) { PhysicalGuiLayer::list_add_item( m_hnd, format.get_list_item(it) ); } } } }; Does something similar exist already? It seems like a challenging project. If anybody is interested, let me know. Eugene __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost