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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to customize Views programatically?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 30th 06, 08:03 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Lucas Campos
external usenet poster
 
Posts: 7
Default How to customize Views programatically?

Hi,
I'm testing an OL based application so I have to manipulate OL as "user
like" as possible. I'm focused on the Mail Grid (A Supergrid control). I
tried to do it with a testing tool but the problem is that the supergrid
seems to be an Owner Draw control so, there seems to be no way to identify
any controls but the grid itself.
Is there any additional way to use it but OL Automation?

I need to be able to work over the grid itself (sorting, filtering,
grouping, etc). Can those actions be made by OL Automation? Is it possible
to simulate Drag and Drop operations?
How can I configure the Grid (columns to show for example)? I saw that a
View has an XML property with this information. Is there any Object that
represent this XML or it is supposed me to modify the XML directly?

Any other way to do that will be welcome (I tried With MSAA "Microsoft
Active Accessibility" but it didn't offer me additional options to
manipulate the Grid)

Thanks a lot

LucasC


Ads
  #2  
Old May 30th 06, 08:10 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to customize Views programatically?

In Outlook 2002 and 2003, you must modify the XML directly. MSDN has articles at http://msdn.microsoft.com/library/en...ustomViews.asp and http://msdn.microsoft.com/library/en...XMLViewDef.asp See http://www.outlookcode.com/threads.a...4&messageid=19 for additional sample code.

Outlook 2007 provides a full set of view-related objects and properties.

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

"Lucas Campos" wrote in message ...
Hi,
I'm testing an OL based application so I have to manipulate OL as "user
like" as possible. I'm focused on the Mail Grid (A Supergrid control). I
tried to do it with a testing tool but the problem is that the supergrid
seems to be an Owner Draw control so, there seems to be no way to identify
any controls but the grid itself.
Is there any additional way to use it but OL Automation?

I need to be able to work over the grid itself (sorting, filtering,
grouping, etc). Can those actions be made by OL Automation? Is it possible
to simulate Drag and Drop operations?
How can I configure the Grid (columns to show for example)? I saw that a
View has an XML property with this information. Is there any Object that
represent this XML or it is supposed me to modify the XML directly?

Any other way to do that will be welcome (I tried With MSAA "Microsoft
Active Accessibility" but it didn't offer me additional options to
manipulate the Grid)

Thanks a lot

LucasC


  #3  
Old May 30th 06, 08:43 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Wolfram Jahn
external usenet poster
 
Posts: 12
Default How to customize Views programatically?

Sue Mosher [MVP-Outlook] wrote:

Outlook 2007 provides a full set of view-related objects and properties.


Hey! Good news...

Wolfram
  #4  
Old May 30th 06, 09:28 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Lucas Campos
external usenet poster
 
Posts: 7
Default How to customize Views programatically?

Thanks a lot!!

Have yu got any idea about how to simulate user actions over the grid (like
Drag and Drop operations). Is there any interface we can use to test it
more close to the user actions than Outlook Automation.

LucasC



"Sue Mosher [MVP-Outlook]" wrote in message
...
In Outlook 2002 and 2003, you must modify the XML directly. MSDN has
articles at
http://msdn.microsoft.com/library/en...ustomViews.asp
and http://msdn.microsoft.com/library/en...XMLViewDef.asp
See http://www.outlookcode.com/threads.a...4&messageid=19 for
additional sample code.

Outlook 2007 provides a full set of view-related objects and properties.

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

"Lucas Campos" wrote in message
...
Hi,
I'm testing an OL based application so I have to manipulate OL as "user
like" as possible. I'm focused on the Mail Grid (A Supergrid control). I
tried to do it with a testing tool but the problem is that the supergrid
seems to be an Owner Draw control so, there seems to be no way to identify
any controls but the grid itself.
Is there any additional way to use it but OL Automation?

I need to be able to work over the grid itself (sorting, filtering,
grouping, etc). Can those actions be made by OL Automation? Is it possible
to simulate Drag and Drop operations?
How can I configure the Grid (columns to show for example)? I saw that a
View has an XML property with this information. Is there any Object that
represent this XML or it is supposed me to modify the XML directly?

Any other way to do that will be welcome (I tried With MSAA "Microsoft
Active Accessibility" but it didn't offer me additional options to
manipulate the Grid)

Thanks a lot

LucasC




  #5  
Old May 30th 06, 10:02 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to customize Views programatically?

No idea whatsoever. The only drag-and-drop operaton that's significant in an Outlook folder view is moving items between groups in a grouped view.

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

"Lucas Campos" wrote in message ...
Thanks a lot!!

Have yu got any idea about how to simulate user actions over the grid (like
Drag and Drop operations). Is there any interface we can use to test it
more close to the user actions than Outlook Automation.

LucasC



"Sue Mosher [MVP-Outlook]" wrote in message
...
In Outlook 2002 and 2003, you must modify the XML directly. MSDN has
articles at
http://msdn.microsoft.com/library/en...ustomViews.asp
and http://msdn.microsoft.com/library/en...XMLViewDef.asp
See http://www.outlookcode.com/threads.a...4&messageid=19 for
additional sample code.

Outlook 2007 provides a full set of view-related objects and properties.


"Lucas Campos" wrote in message
...
Hi,
I'm testing an OL based application so I have to manipulate OL as "user
like" as possible. I'm focused on the Mail Grid (A Supergrid control). I
tried to do it with a testing tool but the problem is that the supergrid
seems to be an Owner Draw control so, there seems to be no way to identify
any controls but the grid itself.
Is there any additional way to use it but OL Automation?

I need to be able to work over the grid itself (sorting, filtering,
grouping, etc). Can those actions be made by OL Automation? Is it possible
to simulate Drag and Drop operations?
How can I configure the Grid (columns to show for example)? I saw that a
View has an XML property with this information. Is there any Object that
represent this XML or it is supposed me to modify the XML directly?

Any other way to do that will be welcome (I tried With MSAA "Microsoft
Active Accessibility" but it didn't offer me additional options to
manipulate the Grid)

Thanks a lot

LucasC




  #6  
Old May 30th 06, 10:28 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Lucas Campos
external usenet poster
 
Posts: 7
Default How to customize Views programatically?

Is there any way to do it with automation?
Thanks

"Sue Mosher [MVP-Outlook]" wrote in message
...
No idea whatsoever. The only drag-and-drop operaton that's significant in an
Outlook folder view is moving items between groups in a grouped view.

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

"Lucas Campos" wrote in message
...
Thanks a lot!!

Have yu got any idea about how to simulate user actions over the grid
(like
Drag and Drop operations). Is there any interface we can use to test it
more close to the user actions than Outlook Automation.

LucasC



"Sue Mosher [MVP-Outlook]" wrote in message
...
In Outlook 2002 and 2003, you must modify the XML directly. MSDN has
articles at
http://msdn.microsoft.com/library/en...ustomViews.asp
and
http://msdn.microsoft.com/library/en...XMLViewDef.asp
See http://www.outlookcode.com/threads.a...4&messageid=19 for
additional sample code.

Outlook 2007 provides a full set of view-related objects and properties.


"Lucas Campos" wrote in message
...
Hi,
I'm testing an OL based application so I have to manipulate OL as "user
like" as possible. I'm focused on the Mail Grid (A Supergrid control). I
tried to do it with a testing tool but the problem is that the supergrid
seems to be an Owner Draw control so, there seems to be no way to
identify
any controls but the grid itself.
Is there any additional way to use it but OL Automation?

I need to be able to work over the grid itself (sorting, filtering,
grouping, etc). Can those actions be made by OL Automation? Is it
possible
to simulate Drag and Drop operations?
How can I configure the Grid (columns to show for example)? I saw that a
View has an XML property with this information. Is there any Object that
represent this XML or it is supposed me to modify the XML directly?

Any other way to do that will be welcome (I tried With MSAA "Microsoft
Active Accessibility" but it didn't offer me additional options to
manipulate the Grid)

Thanks a lot

LucasC






  #7  
Old May 30th 06, 11:31 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to customize Views programatically?

Do what with automation?

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

"Lucas Campos" wrote in message ...
Is there any way to do it with automation?
Thanks

"Sue Mosher [MVP-Outlook]" wrote in message
...
No idea whatsoever. The only drag-and-drop operaton that's significant in an
Outlook folder view is moving items between groups in a grouped view.

--

"Lucas Campos" wrote in message
...
Thanks a lot!!

Have yu got any idea about how to simulate user actions over the grid
(like
Drag and Drop operations). Is there any interface we can use to test it
more close to the user actions than Outlook Automation.

LucasC



"Sue Mosher [MVP-Outlook]" wrote in message
...
In Outlook 2002 and 2003, you must modify the XML directly. MSDN has
articles at
http://msdn.microsoft.com/library/en...ustomViews.asp
and
http://msdn.microsoft.com/library/en...XMLViewDef.asp
See http://www.outlookcode.com/threads.a...4&messageid=19 for
additional sample code.

Outlook 2007 provides a full set of view-related objects and properties.


"Lucas Campos" wrote in message
...
Hi,
I'm testing an OL based application so I have to manipulate OL as "user
like" as possible. I'm focused on the Mail Grid (A Supergrid control). I
tried to do it with a testing tool but the problem is that the supergrid
seems to be an Owner Draw control so, there seems to be no way to
identify
any controls but the grid itself.
Is there any additional way to use it but OL Automation?

I need to be able to work over the grid itself (sorting, filtering,
grouping, etc). Can those actions be made by OL Automation? Is it
possible
to simulate Drag and Drop operations?
How can I configure the Grid (columns to show for example)? I saw that a
View has an XML property with this information. Is there any Object that
represent this XML or it is supposed me to modify the XML directly?

Any other way to do that will be welcome (I tried With MSAA "Microsoft
Active Accessibility" but it didn't offer me additional options to
manipulate the Grid)

Thanks a lot

LucasC






  #8  
Old May 31st 06, 03:15 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Lucas Campos
external usenet poster
 
Posts: 7
Default How to customize Views programatically?

"The only drag-and-drop operaton that's significant in an Outlook folder
view is moving items between groups in a grouped view." Can it be donde with
Automation?

Thanks a lot

LucasC

"Sue Mosher [MVP-Outlook]" wrote in message
...
Do what with automation?

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

"Lucas Campos" wrote in message
...
Is there any way to do it with automation?
Thanks

"Sue Mosher [MVP-Outlook]" wrote in message
...
No idea whatsoever. The only drag-and-drop operaton that's significant in
an
Outlook folder view is moving items between groups in a grouped view.

--

"Lucas Campos" wrote in message
...
Thanks a lot!!

Have yu got any idea about how to simulate user actions over the grid
(like
Drag and Drop operations). Is there any interface we can use to test it
more close to the user actions than Outlook Automation.

LucasC



"Sue Mosher [MVP-Outlook]" wrote in message
...
In Outlook 2002 and 2003, you must modify the XML directly. MSDN has
articles at
http://msdn.microsoft.com/library/en...ustomViews.asp
and
http://msdn.microsoft.com/library/en...XMLViewDef.asp
See http://www.outlookcode.com/threads.a...4&messageid=19 for
additional sample code.

Outlook 2007 provides a full set of view-related objects and properties.


"Lucas Campos" wrote in message
...
Hi,
I'm testing an OL based application so I have to manipulate OL as "user
like" as possible. I'm focused on the Mail Grid (A Supergrid control). I
tried to do it with a testing tool but the problem is that the supergrid
seems to be an Owner Draw control so, there seems to be no way to
identify
any controls but the grid itself.
Is there any additional way to use it but OL Automation?

I need to be able to work over the grid itself (sorting, filtering,
grouping, etc). Can those actions be made by OL Automation? Is it
possible
to simulate Drag and Drop operations?
How can I configure the Grid (columns to show for example)? I saw that a
View has an XML property with this information. Is there any Object
that
represent this XML or it is supposed me to modify the XML directly?

Any other way to do that will be welcome (I tried With MSAA "Microsoft
Active Accessibility" but it didn't offer me additional options to
manipulate the Grid)

Thanks a lot

LucasC








  #9  
Old May 31st 06, 04:48 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to customize Views programatically?

You mean simulate the moving of an item from one group to another? Sure. Just change the value of the property that's used for the grouping and then save the item.

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

"Lucas Campos" wrote in message ...
"The only drag-and-drop operaton that's significant in an Outlook folder
view is moving items between groups in a grouped view." Can it be donde with
Automation?

Thanks a lot

LucasC

"Sue Mosher [MVP-Outlook]" wrote in message
...
Do what with automation?


"Lucas Campos" wrote in message
...
Is there any way to do it with automation?
Thanks

"Sue Mosher [MVP-Outlook]" wrote in message
...
No idea whatsoever. The only drag-and-drop operaton that's significant in
an
Outlook folder view is moving items between groups in a grouped view.

--

"Lucas Campos" wrote in message
...
Thanks a lot!!

Have yu got any idea about how to simulate user actions over the grid
(like
Drag and Drop operations). Is there any interface we can use to test it
more close to the user actions than Outlook Automation.

LucasC



"Sue Mosher [MVP-Outlook]" wrote in message
...
In Outlook 2002 and 2003, you must modify the XML directly. MSDN has
articles at
http://msdn.microsoft.com/library/en...ustomViews.asp
and
http://msdn.microsoft.com/library/en...XMLViewDef.asp
See http://www.outlookcode.com/threads.a...4&messageid=19 for
additional sample code.

Outlook 2007 provides a full set of view-related objects and properties.


"Lucas Campos" wrote in message
...
Hi,
I'm testing an OL based application so I have to manipulate OL as "user
like" as possible. I'm focused on the Mail Grid (A Supergrid control). I
tried to do it with a testing tool but the problem is that the supergrid
seems to be an Owner Draw control so, there seems to be no way to
identify
any controls but the grid itself.
Is there any additional way to use it but OL Automation?

I need to be able to work over the grid itself (sorting, filtering,
grouping, etc). Can those actions be made by OL Automation? Is it
possible
to simulate Drag and Drop operations?
How can I configure the Grid (columns to show for example)? I saw that a
View has an XML property with this information. Is there any Object
that
represent this XML or it is supposed me to modify the XML directly?

Any other way to do that will be welcome (I tried With MSAA "Microsoft
Active Accessibility" but it didn't offer me additional options to
manipulate the Grid)

Thanks a lot

LucasC








 




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
programatically editing .category Charlie Outlook and VBA 3 May 26th 06 09:30 AM
Changing the FROM address when sending email programatically mecg96 Outlook and VBA 1 April 20th 06 10:42 PM
how to import a .vcf file into outlook programatically Darryn Lavery Outlook - Using Forms 0 March 3rd 06 04:09 PM
Compact .PST Programatically ScoSha Outlook and VBA 1 February 1st 06 11:16 PM
Outlook 2003 - Modifying a profile programatically Paul Goldman Outlook - Installation 1 January 30th 06 05:13 PM


All times are GMT +1. The time now is 09:11 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.