suspend & Resume | developer.brewmp.com suspend & Resume | developer.brewmp.com

Developer

suspend & Resume

Hi guys!

I am new to UI Widgets and. And I am applying Forms & Widgets for my application. But i dont know how to handle suspend & resume events in this case, Shall i need to Pop all the forms in the stack at the time of 'suspend' ?

Are there any extra precautions should i take while using UIWidgets.

Any comments are welcome.
Thanx
Amarnath

You shouldn't have to pop your forms when you are suspended. You may need to invalidate the root form when you get resumed in order to redraw the screen.
-Erik

You shouldn't have to pop your forms when you are suspended. You may need to invalidate the root form when you get resumed in order to redraw the screen.
-Erik

You dont need to pop your form.
Just call IROOTFORM_Deactivate() in the EVT_APP_SUSPEND
and call IROOTFORM_Activate() in the EVT_APP_RESUME.

You dont need to pop your form.
Just call IROOTFORM_Deactivate() in the EVT_APP_SUSPEND
and call IROOTFORM_Activate() in the EVT_APP_RESUME.

Thanx guys,
thanx for your suggesstions.
Quote:You may need to invalidate the root form when you get resumed in order to redraw the screen.
To Erick:
I dont understand what do you mean by invalidate. I will be thankful to you, if you could clear me.

Thanx guys,
thanx for your suggesstions.
Quote:You may need to invalidate the root form when you get resumed in order to redraw the screen.
To Erick:
I dont understand what do you mean by invalidate. I will be thankful to you, if you could clear me.