I need to create changing dialogs at run time, and wonder what is the best or "right" way to do it.
At creation, I can populat a non constant GUI_WIDGET_CREATE_INFO rescorce array and call GUI_CreateDialogBox, or I can loop thruog each object and built it, is there a difference?
The other question is what to do whan a button is clicked, and a new dialog sholud be displayed.
Should I delet all wigets, and rebuild new ones in the current window, or should I delet the parent window, and use a new resorce table?
What is the correct way to do this? waht is more efficient and more "safe" in terms of memry allocation?
Thanks
At creation, I can populat a non constant GUI_WIDGET_CREATE_INFO rescorce array and call GUI_CreateDialogBox, or I can loop thruog each object and built it, is there a difference?
The other question is what to do whan a button is clicked, and a new dialog sholud be displayed.
Should I delet all wigets, and rebuild new ones in the current window, or should I delet the parent window, and use a new resorce table?
What is the correct way to do this? waht is more efficient and more "safe" in terms of memry allocation?
Thanks