Hi,
I'm creating an application that is an MDI client with various child forms. These child forms are quite "contol heavy". The problem ones have an image control of some description, a status bar (which is a coolbar), a toolbar, two imagelists to hold the pictures for the toolbar and a common dialog control. If I create too many of these forms, then I get an "out of memory" error. It's not consistant as to whereabouts it happens during the form creation process so it's nothing specific. My question which of the objects are likely to be the offending parties and taking up too many resources (I think it's GDI but I could be wrong).

thanks

Andy