View Single Post
  #3  
Old May 2nd 08, 02:26 PM posted to microsoft.public.outlook.program_addins
Jeff[_7_]
external usenet poster
 
Posts: 11
Default How to find selected day on outlook calendar view during menu popup?

Hi Ken

Using: OL2007

I might be blind, but I don't see a CalendarView Object's property that
returns the currently selected date/time range.
I suspect that might be too easy

I came across Sue Mosher's "Create custom appointment with user's time
selection" workaround on outlookcode.com. (
http://www.outlookcode.com/codedetail.aspx?id=616 ) that does the trick, but
what a hack

Do you know of a better solution?

Thanks.

Jeff


"Ken Slovak - [MVP - Outlook]" wrote in message
...
For what version of Outlook? For Outlook 2007 you can use the
CalendarModule's CalendarView and look at the properties there.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Jeff" wrote in message
...
Hi All

I'm adding a couple of items to the CommandBar during the
OnViewContextMenuDisplay event ( which passes in CommandBar* and
iew* )
when a user selects a day within the calendar view.

Any bright ideas how I can find out what day/date is currently selected?
ie: the target day of the popup menu?

Thanks!

Jeff




Ads