Hi friends,
I want to delete a form which is created by GUI_CreateDialogBox function and FREE the used memory. More specifically, I need to completely clear the screen and demonstrate a new form, after for example clicking on a button. I have used WM_DeleteWindow function and then GUI_Clear, but there are 2 problems:
1. the screen is not cleared and the previous form is shown after a flicker.
2. when I use GUI_ALLOC_GetNumFreeBytes function, free space becomes less not more.
please tell me how can I completely delete a widget and free the memory.
thanks ahead,
Elham
I want to delete a form which is created by GUI_CreateDialogBox function and FREE the used memory. More specifically, I need to completely clear the screen and demonstrate a new form, after for example clicking on a button. I have used WM_DeleteWindow function and then GUI_Clear, but there are 2 problems:
1. the screen is not cleared and the previous form is shown after a flicker.
2. when I use GUI_ALLOC_GetNumFreeBytes function, free space becomes less not more.
please tell me how can I completely delete a widget and free the memory.
thanks ahead,
Elham