Lv_msgbox_close(msgbox) closes (deletes) the message box

Important: unclear posts may not receive useful answers.

Before posting

  • Get familiar with [Ma

What does the above actually mean. I normally associate close and delete as two different action. Close to hide a message box (popup) and show to show it whereas delete means you would need to recreate the popup to show it again.

If closes means hide the how do show the same popup again. If it is the second case do i have to add the message box again slong with its properties but with the same event call back

Using 8.4

Hey, the close (deletes) the mbox means that for the user the box just “Close” but for the technical part it means that the object was deleted.

Many thanks for clarifying this. Is it possible to just hide and unhide the message box.

yes, you can hide an object by adding the flag LV_OBJ_FLAG_HIDDEN to it, like that:

lv_obj_add_flag(/*the message box*/, LV_OBJ_FLAG_HIDDEN);

and to remove it

lv_obj_clear_flag(/*the message box*/, LV_OBJ_FLAG_HIDDEN);