View Single Post
  #2  
Old March 17th 09, 01:18 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to precisely change calendar size?

Outlook version?

In Outlook 2007 you can set the start by using the new CalendarView property
and calling its GoToDate() method. There are lots of other view settings in
that object that allow you to bypass editing the View.XML.

You can set the view to some extent by editing the View.XML property. What I
usually do is take what's there and in the UI modify it to look as I want,
then I grab that View.XML and see how it differs from what was used to see
what changes to make. Some things however cannot be changed.

--
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


wrote in message
...
Hello,

is there a way to precisely change the viewable area of the Outlook
calendar?
I.e. to see exactly and always the current day from 7 am to 9 pm
- How to set the start position of the current day
- How to change the row height of a time row (in pixels)

I understand that I can slightly influence the row height by changing:
DayWeekFont.Size
and that I can change the number of rows with: DayWeekTimeScale

But is there a way to change the row height in pixels (e.g. via the
Windows API instead of the Outlook model)

Thanks for any ideas
Thomas


Ads