> So if I add a button dynamically do I also need to free the >allocated memory as well when the form closes?--or will the OS >take care of it for me. FrmDeleteForm basically just deletes the chunk containing the form. If you allocate the button within that chunk then that button will happen to get freed. If you allocate the button in a separate chunk, then you'll need to track the chunk and free it at the right time. To find out more, read FrmDeleteForm. -Roger
- Adding button at run-time (2.0) Daniel McCarty
- Re: Adding button at run-time (2.0) rflores
- Re: Adding button at run-time (2.0) Daniel McCarty
- RE: Adding button at run-time (2.0) Mike Pellegrino
- rflores
