Logo requirements and File menu

R

Richard Kucia

I've been reading up a little bit on the MS logo requirements for mobile
applications. If I understand them correctly, the use of a "File" menu was
previously forbidden, but is now acceptable. My app uses a "File" menu for
the usual desktop functionality.

My user can open one or more existing project files within the app, and can
also create one or more new projects. Upon File | Exit, the app prompts the
user to save each "dirty" or unsaved project -- typical desktop processing.

What I'm confused about is how to meet the logo requirement when power goes
off or Windows Mobile elects to cannibalize the executing program. I can't
simply save the "dirty" projects because the user's intention might be to
abandon changes. And I can't guess what filenames the user intended for the
new projects. Anyone have any pointers on the proper logo-compatible design?

Thanks.
Richard Kucia
 
P

Peter Foot [MVP]

In the case of an unsaved project which you are unsure if the user wishes to
keep, you could "autosave" the contents with an autogenerated filename e.g.
"Autosave yyyymmdd hh:mm" so that the user can either delete the file or
rename at a later stage. This is somewhat similar to how Microsoft Office
applications on the desktop can auto recover files if not shut down
properly. For example you could save the file to the program folder and when
the app is relaunched you can check for the existance of the file and
display to the user and ask if they want to continue working on it or delete
it permanently. I don't believe the Windows Mobile logo requirements cover
this specific scenario - however you are encouraged to autosave documents.

Peter
 
R

Richard Kucia

What events do I need to intercept? I think I'd need to distinguish between
the main window's .Closing event and a power loss because in the former, I
would want to prompt the user and in the latter, I'd just autosave the
projects. And what happens to an application if Windows Mobile needs to
reclaim memory -- does it trigger an event in the application? I've checked
the documentation and haven't found an explanation.

Your points about restarting the app are right on targer: I would need to
checked the autosaved folder upon any startup and reload those projects.

Thanks again, Peter.
Richard Kucia
 

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