Discussion Board
CAknDurationQueryDialog. How do I set limits for duration?
2002-07-25, 08:02
#1
Regular Contributor
Hello. I'm using CAknDurationQueryDialog cosntructed from resource below. I'm trying to set the duration-limits from 1 sec to 99hours, 59mins and 59 secs. But apparently the maxDuration defination in resource has no effect beyond 24 hours.
Is the max duration limited to that (24h) ?
Thanks.
RESOURCE DIALOG r_duration_query_dialog
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDurationLayout;
label = "Countdown value (hh:mm:ss)";
control = DURATION_EDITOR
{
minDuration = DURATION
{
seconds = 1;
};
maxDuration = DURATION
{
seconds = 356400;
};
flags = 0;
};
};
}
};
}
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules