Hi,
I am programming in VC++/MFC to make applications for Bus, Airline and other ticket booking softwares. In those applications i need to display the available Buses/Flights in as in Web pages. i.e., like tables. A row for a flight like that. Currently I am making such a view by creating 16 to 18 static(CStatic) controls for a single flight. I have arranged the statics to be a cell of a row and display the detail(For Eg: Flight No, Departure time etc.,). If the number flights is more than say 100 i have to create nearly 2000 static controls to display the whole list of flights. If it exceeds in number then the creation of controls fails due to unavailable memory(Getting Error: "Out of Memory"). Could any body suggest me an alternative solution to the problem i am facing? Is there any other way of displaying the flights/buses in the same way As i have did?