CompuServe Thread

CFormView limits?

1 messages in this thread
#30260From: Peter GlickJul 8, 1994 7:53 AM
Hi Pete – Boy, you are going through almost an identical scenario as I did with tons of CFormViews in a MDI application. The problem I had initially was assigning menus to the views in the AddDocTemplate calls. This immediately ran me out of user heap. I wound up assigning bogus menus to the views and manipulating the real menus myself with MDISetMenu. Just make sure all menus get destroyed on exit, or you will get a user heap drop every time the app runs. The debug version of windows is invaluable in debugging resource leaks (comes gratis with VC++ pro).