In windows mobile, if you create a task, you can set a due date and a time to remind you about the task.
When the time is ready to remind you about the task, windows mobile will play a sound and show a user notification, which persists until you dismiss it.
Now I’d like to know if any task (how many?) has run into this “remind me” stage.
My first try was SystemState.TasksOverdue, but these are not the tasks the system reminds you about, these are the tasks which missed their due-date, which is something different.
Same about the other SystemSta.Tasks… properties: none of them is about tasks which the system wants to remind you about.
Is there any way to get the tasks the system is actively reminding you right now?
Oh, I program using c# and .Net CF 2.0.
I have no experience with this myself, but my guess would be to look at the TaskCollection which returns a list of current tasks. By looping through that you can look at the ReminderSet, ReminderTime and StartDate properties of the Task class to determine which tasks are currently in the ‘reminding stage’.
The only thing I don’t know is what happens when a user dismisses the reminders, rather than snoozing them. I assume that the ReminderSet or ReminderRepeat property of the Task object will then return false, but you’ll have to check if that is what happens.