I have a small form that comprises a toolbar, a treeview and a status
bar.
Everything was working fine until I decided to add a new button to the
toolbar - and I decided for appearances sake to add a separator button
to distance the new button from the old ones. When I do "show" on the
form (which is an mdi-child) I get the following exception:
System.OutOfMemoryException occurred in system.windows.forms.dll
Additional Information: Error Creating Windows Handle
When I delete the separator, everything works fine again. If I change
the separator into a regular button, it works fine.
Anyone encountered a problem like this? Anyone have any ideas?
I am using framework version 1.1.4322 and visual studio version (2003)
7.1.3088