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

Get the order of unsorted (dragged) items in a view?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 3rd 06, 03:56 PM posted to microsoft.public.outlook.program_vba
Clem
external usenet poster
 
Posts: 2
Default Get the order of unsorted (dragged) items in a view?

Hi all,

I've Googled myself into a stupor trying to find a way to do this ...
any ideas?

In an unsorted view, where the user has dragged items up and down (for
example, to prioritize Task items), is it possible to programmatically
obtain the order of the items in this manually-ordered view?

My objective is to represent this manual (dragged) order on my Palm
device. Dragging is easier and more intuitive than constantly changing
the Priority or PalmPriority field in the items. This is my strategy
(clunky, but could work):

1. I drag Task items up and down in an unsorted view, prioritizing my
Tasks. (Again, my goal is to use dragging rather than having to change
the Priority or PalmPriority field in Tasks.)

2. My code determines the order of Tasks in this view. (This is the
hard part!)

3. Since the Palm device Priority field can only contain values from 1
to 5, my code must then assign each Task a value of 1 to 5, based on
its position in the list. For example, if there are 100 Tasks, the top
25 items would be value 1, the next 25 value 2, etc.

4. My code then places this value (1-5) in the user-defined field
"PalmPriority."

5. When synchronizing Outlook to Palm device, I select the option to
use the Outlook "PalmPriority" UDF as the handheld's priority field.

This way, the manually-dragged order of Tasks is represented (although
not exactly) on my Palm device.

In order to make this happen, I have to get the order of the Tasks that
I have manually dragged into position in my unsorted view. This seems
to be a tall order! Any help, anyone?

Thanks very much,
Bruce Clemence

Ads
  #2  
Old June 4th 06, 10:41 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Get the order of unsorted (dragged) items in a view?

If it's possible at all to retrieve the order, it would have to be through a MAPI property, not the Outlook object model. Outlook Spy and MFCMAPI are the two tools you can use to investigate, comparing the properties on two different tasks that differ only by their creation date/time and their position in the order.

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

"Clem" wrote in message ups.com...
Hi all,

I've Googled myself into a stupor trying to find a way to do this ...
any ideas?

In an unsorted view, where the user has dragged items up and down (for
example, to prioritize Task items), is it possible to programmatically
obtain the order of the items in this manually-ordered view?

My objective is to represent this manual (dragged) order on my Palm
device. Dragging is easier and more intuitive than constantly changing
the Priority or PalmPriority field in the items. This is my strategy
(clunky, but could work):

1. I drag Task items up and down in an unsorted view, prioritizing my
Tasks. (Again, my goal is to use dragging rather than having to change
the Priority or PalmPriority field in Tasks.)

2. My code determines the order of Tasks in this view. (This is the
hard part!)

3. Since the Palm device Priority field can only contain values from 1
to 5, my code must then assign each Task a value of 1 to 5, based on
its position in the list. For example, if there are 100 Tasks, the top
25 items would be value 1, the next 25 value 2, etc.

4. My code then places this value (1-5) in the user-defined field
"PalmPriority."

5. When synchronizing Outlook to Palm device, I select the option to
use the Outlook "PalmPriority" UDF as the handheld's priority field.

This way, the manually-dragged order of Tasks is represented (although
not exactly) on my Palm device.

In order to make this happen, I have to get the order of the Tasks that
I have manually dragged into position in my unsorted view. This seems
to be a tall order! Any help, anyone?

Thanks very much,
Bruce Clemence

  #3  
Old June 5th 06, 07:48 PM posted to microsoft.public.outlook.program_vba
Clem
external usenet poster
 
Posts: 2
Default Get the order of unsorted (dragged) items in a view?

Hi Sue - thanks, I will try this. BTW, your book on Outlook
programming is one that has stayed on my shelf as others come and go --
awesome book!

Bruce

Sue Mosher [MVP-Outlook] wrote:
If it's possible at all to retrieve the order, it would have to be through a MAPI property, not the Outlook object model. Outlook Spy and MFCMAPI are the two tools you can use to investigate, comparing the properties on two different tasks that differ only by their creation date/time and their position in the order.

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

"Clem" wrote in message ups.com...
Hi all,

I've Googled myself into a stupor trying to find a way to do this ...
any ideas?

In an unsorted view, where the user has dragged items up and down (for
example, to prioritize Task items), is it possible to programmatically
obtain the order of the items in this manually-ordered view?

My objective is to represent this manual (dragged) order on my Palm
device. Dragging is easier and more intuitive than constantly changing
the Priority or PalmPriority field in the items. This is my strategy
(clunky, but could work):

1. I drag Task items up and down in an unsorted view, prioritizing my
Tasks. (Again, my goal is to use dragging rather than having to change
the Priority or PalmPriority field in Tasks.)

2. My code determines the order of Tasks in this view. (This is the
hard part!)

3. Since the Palm device Priority field can only contain values from 1
to 5, my code must then assign each Task a value of 1 to 5, based on
its position in the list. For example, if there are 100 Tasks, the top
25 items would be value 1, the next 25 value 2, etc.

4. My code then places this value (1-5) in the user-defined field
"PalmPriority."

5. When synchronizing Outlook to Palm device, I select the option to
use the Outlook "PalmPriority" UDF as the handheld's priority field.

This way, the manually-dragged order of Tasks is represented (although
not exactly) on my Palm device.

In order to make this happen, I have to get the order of the Tasks that
I have manually dragged into position in my unsorted view. This seems
to be a tall order! Any help, anyone?

Thanks very much,
Bruce Clemence


 




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
View snoozed items G-Wolf Outlook - Calandaring 2 February 21st 06 03:45 PM
Outlook contact is deleted when dragged and dropped to folder Booger_Boy Outlook - Using Contacts 5 February 8th 06 05:46 AM
How to hide Read items? I want to see only the Unread Items in my view. [email protected] Outlook - General Queries 3 February 7th 06 02:56 PM
"There are no items to show in this view" in Taskpad. No filter. Cant reset Current view [email protected] Outlook - Calandaring 0 February 3rd 06 06:36 PM
Can you view tomorrow's todo items in Outlook Today view? Charles Lewis Outlook - General Queries 0 January 8th 06 11:30 PM


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