Reactivating or Returning Focus from Start Menu

G

Guest

I have a smartphone application that montors unread SMS alerts much like a
pager. If you don't read an alert it bugs you - sound, vibrate,etc.

My problem is that once you start the application and then go onto other
uses of your phone (reading email, answering phone calls), I can't get the
application to come to the forefront (focus) again, from neither the
StartMenu nor the Task activate command.

The application has a main form, an alert form and two threads that monitor
unread SMS alerts.

Is there a forms message I'm getting from the StartMenu selection of the
application that I'm not catching when the application is running
 
G

Guest

What happens when you click Activate in the Memory\List of running apps applet?

Are you setting the previous forms Text property to "" before calling your
subwindow? Windows Mobile will add each form to the list of running
applications which can cause problems for modal forms.
 
G

Guest

Simon, thanks for helping. (1) when I click Activate, it does not respond.
(2) not sure I understand your suggestion about the Text property.

To get around the problem, I started over, got rid of the thread and used a
MessageInterceptor - which is a much better solution to my problem. I was
just polling on SMS status.

Thanks again for helping.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top