Schedualed Recording |
Post Reply |
Author | |
Khayyat71
Newbie Joined: 06 January 2007 Location: Jordan Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 10 January 2007 at 7:59pm |
How can I use the CalendarPro to create audio scheduled recording? The user should be able to set a starting date/time and an ending date/time for recording purposes.How can this be implemented?
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
The calendar control has reminders feature.
a) When you set reminder for calendar event -- OnReminders notification will be fired. b) When you receive OnReminders for some event, start recording. c) Use event EndTime property to monitor when stop recording. d) Also disable reminder for started event. See our sample application. Note that Calendar monitors reminders only while it is running. Another way is use windows scheduled tasks. On calendar events create/change/delete add/update corresponding job in windows scheduled tasks. In this case scheduled tasks will be performed independently. Your application will have own user interface to manage these jobs. Also you need some app which will be runned by these jobs. -- WBR, Serge |
|
Khayyat71
Newbie Joined: 06 January 2007 Location: Jordan Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Thanks for your reply.
I already purchased the CalendarPro for MFC.
Which sample application you are talking about?
Also, I can't find OnReminders...
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
For MFC version see for notification XTP_NC_CALENDAR_ON_REMINDERS.
I was actually talking about VB sample :) But take a look at CalendarDemo MFC sample, look into CalendarDemoView.cpp for how it handles this notification. You'll have to uncomment a few lines -- search for them with OnReminders keyword. -- WBR, Serge |
|
Khayyat71
Newbie Joined: 06 January 2007 Location: Jordan Status: Offline Points: 6 |
Post Options
Thanks(0)
|
How to monitor Event Endtime property?
Do you mean that I need to write up my own code to do so?
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Yep, for sure. This is just a property which stores a time value.
-- WBR, Serge |
|
Khayyat71
Newbie Joined: 06 January 2007 Location: Jordan Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Well, I changed the remindersManager source code to adapt what I need.
And It worked.. ;-)
Thanks alot
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |