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

Identifying Outlook groups using the OOM



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 14th 07, 06:37 PM posted to microsoft.public.outlook.program_addins
Chris[_4_]
external usenet poster
 
Posts: 3
Default Identifying Outlook groups using the OOM

Hi,

Does anybody know if it's possible to identify whether a group is
selected in Outlook (e.g. the '- Date: Today' row) using the OOM and
if so, the items within that group?

As far as I can tell, when a group is selected the Count property on
the OOM Selection object just returns zero.

Many thanks,
Chris

  #2  
Old November 14th 07, 07:04 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Identifying Outlook groups using the OOM

Outlook 2007 has the new CalendarView object, an instance of a View object.
That has various properties such as DisplayedDates that can be used to find
out how the calendar is displayed. However, if nothing is selected in the
calendar view Explorer.Selection.Count will always be 0.

To see what items might be in a view you'd have to get the displayed dates
and the displayed starting and ending times (StartField and EndField, both
string properties) and then filter the Items collection to see what items
fit the display parameters.

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


"Chris" wrote in message
oups.com...
Hi,

Does anybody know if it's possible to identify whether a group is
selected in Outlook (e.g. the '- Date: Today' row) using the OOM and
if so, the items within that group?

As far as I can tell, when a group is selected the Count property on
the OOM Selection object just returns zero.

Many thanks,
Chris


  #3  
Old November 14th 07, 07:30 PM posted to microsoft.public.outlook.program_addins
Chris[_4_]
external usenet poster
 
Posts: 3
Default Identifying Outlook groups using the OOM

Thanks Ken for the quick response.

I was thinking more of when a user has the 'View-Arrange By-Show In
Groups' option selected and is in a mail folder such as Inbox, sorted
by sender. Is it possible to tell if the user has a group selected (in
this example, the group row would be something like: 'From: Joe Bloggs
(3 items)'?

Thanks,
Chris


On 14 Nov, 18:04, "Ken Slovak - [MVP - Outlook]"
wrote:
Outlook 2007 has the new CalendarView object, an instance of a View object.
That has various properties such as DisplayedDates that can be used to find
out how the calendar is displayed. However, if nothing is selected in the
calendar view Explorer.Selection.Count will always be 0.

To see what items might be in a view you'd have to get the displayed dates
and the displayed starting and ending times (StartField and EndField, both
string properties) and then filter the Items collection to see what items
fit the display parameters.

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

"Chris" wrote in message

oups.com...



Hi,


Does anybody know if it's possible to identify whether a group is
selected in Outlook (e.g. the '- Date: Today' row) using the OOM and
if so, the items within that group?


As far as I can tell, when a group is selected the Count property on
the OOM Selection object just returns zero.


Many thanks,
Chris- Hide quoted text -


- Show quoted text -



  #4  
Old November 14th 07, 10:21 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Identifying Outlook groups using the OOM

No way to do it that I can think of, sorry.

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


"Chris" wrote in message
ups.com...
Thanks Ken for the quick response.

I was thinking more of when a user has the 'View-Arrange By-Show In
Groups' option selected and is in a mail folder such as Inbox, sorted
by sender. Is it possible to tell if the user has a group selected (in
this example, the group row would be something like: 'From: Joe Bloggs
(3 items)'?

Thanks,
Chris


  #5  
Old November 15th 07, 09:59 AM posted to microsoft.public.outlook.program_addins
Chris[_4_]
external usenet poster
 
Posts: 3
Default Identifying Outlook groups using the OOM

Thanks Ken. Glad I wasn't missing something obvious!

Chris

Ken Slovak - [MVP - Outlook] wrote:
No way to do it that I can think of, sorry.

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


"Chris" wrote in message
ups.com...
Thanks Ken for the quick response.

I was thinking more of when a user has the 'View-Arrange By-Show In
Groups' option selected and is in a mail folder such as Inbox, sorted
by sender. Is it possible to tell if the user has a group selected (in
this example, the group row would be something like: 'From: Joe Bloggs
(3 items)'?

Thanks,
Chris

 




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
Identifying ANSI or Unicode PST File - Programmatically [email protected] Outlook - General Queries 0 July 27th 07 07:09 AM
Outlook and News Groups Jan Groshan Outlook - General Queries 8 July 23rd 07 02:57 PM
Identifying components of email message ed Outlook and VBA 4 May 15th 07 06:41 PM
Identifying whether there are user properties defined Dewey Add-ins for Outlook 3 September 22nd 06 12:01 AM
identifying calendar conflicts Peter Grono Outlook - Calandaring 0 July 31st 06 12:41 PM


All times are GMT +1. The time now is 11:37 AM.


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.