![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi All
I'm adding a couple of items to the CommandBar during the OnViewContextMenuDisplay event ( which passes in CommandBar* and View* ) 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 |
#2
|
|||
|
|||
![]()
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 View* ) 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 |
#3
|
|||
|
|||
![]()
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 |
#4
|
|||
|
|||
![]()
No, I misunderstood what you wanted, sorry. The .DisplayedDates property
returns a variant array of displayed dates. The only way to get the selected day/times is Sue's method. -- 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 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CommandBarButton with icon, caption and popup menu | [email protected] | Outlook and VBA | 1 | May 1st 08 02:46 PM |
CommandBarButton with icon, caption and popup menu | [email protected] | Outlook and VBA | 0 | May 1st 08 01:30 PM |
Public Calendar view not showing when selected as Favorite | [email protected] | Outlook - Calandaring | 1 | September 25th 06 07:59 PM |
Get Outlook calendar to popup when double clicked in folder view | Lloyd leiderman | Outlook - Calandaring | 1 | August 9th 06 02:04 AM |
calendar should remember specific days selected to view | ConsultingJay | Outlook - Calandaring | 0 | March 30th 06 03:59 PM |