In Aurora I was shown how to destroy a dialog so that I could recreate it with a different number of controls. I now want to do something similar in EBasic, but I think it would be simpler if I just deleted the controls. Does anyone know how to delete (not just hide) a control in a dialog?
Thanks.
Use the DestroyWindow API function.
DestroyWindow(GetControlHandle(dlg, id) )
Don't use that with controls in a window though ;)
Quote from: Paul Turley on November 14, 2007, 09:42:51 AM
Use the DestroyWindow API function.
DestroyWindow(GetControlHandle(dlg, id) )
Don't use that with controls in a window though ;)
Nice and simple - just how I like it.
Thanks.