A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Calendar View



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 25th 06, 05:50 AM posted to microsoft.public.outlook.program_addins
tonyl
external usenet poster
 
Posts: 13
Default Calendar View

Hi,

Question on the day / week / month calendar view.

How does a outlook addin know the date range of the calendar view showing?
If day view, the view will show the range in time, how does the addin
know from when to when?
If week view, the view will show the range of a week, how does the addin
know which week that the view is showing?
If Month view, the view will show a month, but which month the view is
showing?

Regards,
Tony


Ads
  #2  
Old April 25th 06, 08:07 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Calendar View

The addin doesn't know. Outlook exposes no information about what dates are currently displayed in the calendar.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"tonyl" wrote in message m...
Hi,

Question on the day / week / month calendar view.

How does a outlook addin know the date range of the calendar view showing?
If day view, the view will show the range in time, how does the addin
know from when to when?
If week view, the view will show the range of a week, how does the addin
know which week that the view is showing?
If Month view, the view will show a month, but which month the view is
showing?

Regards,
Tony


  #3  
Old April 26th 06, 07:17 AM posted to microsoft.public.outlook.program_addins
Michael Bauer
external usenet poster
 
Posts: 435
Default Calendar View

Am Tue, 25 Apr 2006 14:07:38 -0400 schrieb Sue Mosher [MVP-Outlook]:

Tony, a workaround would be first to determine which view is the current
one. For that you can check which of the buttons has the
State=msoButtonDown.

Then create an Appointment and get its Start and End dates/times. In Day
View e.g. you will get the selected date and times, in Week View you´ll get
the selected day. By knowing that you can calculate the week´s Monday and
Sunday. It similar works for Month and Workweek View.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


The addin doesn't know. Outlook exposes no information about what dates

are currently displayed in the calendar.
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Calendar should let me set how I view the Mthly Calendar SteveK Outlook - Calandaring 0 April 10th 06 03:51 PM
Calendar view Margaret Upton Outlook - General Queries 2 March 1st 06 04:09 PM
calendar view DSD Outlook - Calandaring 1 February 17th 06 03:50 PM
user cannot view calendar appointments on his calendar exsvr Jeffieboy Outlook - Calandaring 0 February 6th 06 10:26 PM
Navigation view - current view calendar question Shane Nation Outlook - General Queries 0 January 7th 06 06:19 PM


All times are GMT +1. The time now is 12:52 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.