Why do you need that much items? Can't you merge them into groups? Render an approximation for the group. And divide them only if necessary?
If your individual items are complex in design you could consider using openGL and displaylists for the basic shapes, which you then call as often as you have that item-type.
You won't be able to generate millions of displaylists though. So this only works if you have considerably less types, than items.
Can't you provide a screenshot of your working MFC application, so that we have more of an idea, of what you want to achieve?
Johannes
Bookmarks