Delete a CButton and now Out Of Memory?! 
Author Message
 Delete a CButton and now Out Of Memory?!

My previously working VC5.0 project has a dialog box to which I added
two CButton(radio button) controls inside of a Group box.  I compiled,
linked and liked it, and then added two member variables via class
wizard. Compiled and linked that also. Did not bind variables to
handlers. Ran and it shows up at run time.

1. I decide I don't like it.  Go into editor and select the buttons and
group box.
2. Delete them.
3. Hit f7 to build.
4. Get out of Memory errmsg dialog box?!
5. Click on it and now my workspace window (the one with the resources
and file listings and classes) locks up.  click once more and it
shrinks. click again and it comes back blank.
6. Visual Studio is now locked up to the extent it will not build,
execute, go.  All result in "out of memory"

Any ideas or suggestions on what is happeing or how to delete the
undesired controls?


Sat, 27 Sep 2003 05:53:31 GMT  
 Delete a CButton and now Out Of Memory?!

Fri, 19 Jun 1992 00:00:00 GMT  
 Delete a CButton and now Out Of Memory?!
Went back and took a look at other settings I may have tweaked on the
controls.  Turns out I set up the buttons to use the auto on/off feature
using tabs and group box, plus set the help_id check box.  I returned
these  off before deleting them, and the problem went away.

Hope this helps someone else,

Sat, 27 Sep 2003 06:17:36 GMT  
 [ 3 post ] 

 Relevant Pages 

1. Delete a CButton and now Out Of Memory?!

2. Delete a CButton and now Out Of Memory?!

3. delete CButton from window

4. Checksums of a.outs

5. Colour print outs of source code ?

6. Problems with CButton::SetIcon and CButton::SetBitmap under Windows XP

7. How can I use class CLinkButton derived from CButton instead of class CButton

8. Change CButton color and CButton text color in CDialog

9. Deleting a valid allocated memory hangs the connection point Callback thread

10. Deleting memory second time

11. DELETE causes memory leak in 16-bit ODBC Access driver

12. memory usage and delete operators


Powered by phpBB® Forum Software