D
David D Webb
We have a medical app that requires a user to log in every time they use the
app. For HIPAA compliance, all data is encrypted, the user must log in with
a personal account and pw, and if the app is left idle for X minutes, it
will automatically log the user out.
Up until this point, we have skipped the whole smart-minimize thing and just
shut down the app when they close it. With Windows Mobile 5.0, the load
times are starting to get rediculously long, so I am looking at using
smart-minimizing. There are 2 main problems to this.
1) There is NO minimize event. What the ??? I found some code snippets
that used the deactivate event to detect the minimizing, but they no longer
work in MW5. If I can detect this, I can set a global flag, and have this
checked in the form's activate event.
2) When the user restarts the application, it just activates the last active
form. Again, there is no un-minimize event or start event or anything, just
activate (which is useless if I can't tell what activated it). I need some
way to throw up the login form when they come back. If I could detect this,
I could open a login form when they came back.
Any suggestions??
Thanks,
Dave
app. For HIPAA compliance, all data is encrypted, the user must log in with
a personal account and pw, and if the app is left idle for X minutes, it
will automatically log the user out.
Up until this point, we have skipped the whole smart-minimize thing and just
shut down the app when they close it. With Windows Mobile 5.0, the load
times are starting to get rediculously long, so I am looking at using
smart-minimizing. There are 2 main problems to this.
1) There is NO minimize event. What the ??? I found some code snippets
that used the deactivate event to detect the minimizing, but they no longer
work in MW5. If I can detect this, I can set a global flag, and have this
checked in the form's activate event.
2) When the user restarts the application, it just activates the last active
form. Again, there is no un-minimize event or start event or anything, just
activate (which is useless if I can't tell what activated it). I need some
way to throw up the login form when they come back. If I could detect this,
I could open a login form when they came back.
Any suggestions??
Thanks,
Dave