Checking if CAgnTodo has a StartDate
| Sat, 2006-01-21 10:49 | |
|
Hi, I'm copying a ToDo item and pasting it. I want to check if it has a Start Date and Due Date. So first I check ----------------------------------- CAgnTodo* iAgnTask; if (iAgnTask->IsDated()) ----------------------------------- If the item is dated, I want to check if it has a Start Date or only a due date. So I'm doing: ------------------------------------- if (iAgnTask->InstanceStartDate()) ... ------------------------------------- But that cannot be put inside an if. I have to evaluate to something. I was trying to find out how to do "!=NULL" or some kind of TTime::Null But I couldn't find any. I'm checking if ------------------------------------- if (iAgnTask->InstanceStartDate()!=iAgnTask->DueDate()) ------------------------------------- I don't know if that how I'm supposed to do it. But I think that tells me that there IS a start date. So can anyone tell me how you can check if a CAgnToDo has a start date or not? And also, I want to set the Start date of a ToDo item. How do I do that? Thanks! -------------------- |
|






Forum posts: 9
That's for the Null on TTIme.
--------------------
Roy Weinberg,
Symbian Development Manager,
SBSH Mobile Software.