right click outlook objects in OL2010 acts on current inbox mailitem

Not open for further replies.


Cryptic title, I know. sorry about that.

See below my outlook today page, which I use as a dashboard for outlook 2010.


As you can see, at the top of the page I have my inbox, with some href links in table cells to the right.

The next row holds my personal tasks, with shared team tasks to the right.

The last row holds my personal calendar, with shared team calendar to the right.

I used this today page in outlook 2003 with no major problems. If I wanted to create a new appointment in a calendar, or forward a task to someone, all I had to do was right click on the item in question, and select "new appointment" or "forward". In outlook 2003, the new appt window would then appear filled with the date/time where I had right clicked, or the new mail item would open, with the task in question attached.

Now in 2010, although the right click context menu's know I'm clicking on a task object, or a calendar object, the resulting actions don't seem to act on the item in question. Instead, they act on the "current" mailtem selected in my inbox.

So right clicking a task, and saying "mark as complete" does nothing to the task. Instead, the selected mailitem in my inbox suddenly gets "maked as complete"! Calendar appointments are created, but at the current date/time only, rather than where I right clicked. More worryingly, trying to "delete" a task actually deletes the currently selected inbox mailitem (which in some instances has gone unnoticed, until I noticed that the task was still there).

I have resorted to opening each task by double clicking on it, and then performing an action on it from the task window, or creating an appointment by double-clicking on the time/date required.

Is this change in context menu behaviour intentional?

PS: While editing my today page code, I noticed that if I happened to put a tasks object first in the code (ie before the inbox) then my preview pane would show only tasks instead of emails. I changed that back without much more testing, but I guess this means that all actions would probably have acted on my current task in that case, even if I was trying to perform that action on my mailitem.


They keep tweaking the security for folder home pages and view control but I wasn't aware they messed it more than that. Ill see if I can repro it with a demo page here, but I might need a copy of your home page code to repro it.
you can probably get the calendar object code from my other post, but I can forward the full code with inbox, links and tasks objects to you tomorrow when I get back to work.

Your assistance is very much appreciated Diane
So I guess what I cut and pasted from the internet (and then fidled about a bit with) is called the "view control", and each object I have on my today page is an instance of a view control.

I'm not sure if it tells me specifically why the above is happening, but as the viewctrl has an "activefolder" property, I'm guessing that is set by default to the first instance on the page (which is why in my case, actions are always defaulting to my inbox mailitems).

It looks from that ms article like there are several commands / methods / propoerties and events which I can use to manage these viewctrl's - though at the moment I am not sure where to start.

Is this like some sort of scripting language I use in the home page HTML, or somethig I do in VBA?

Do you know of a good (basic level) reference for learning about these viewctrls; how to implement them in code etc?

many thanks

Yes, it does still apply - with the exception of some security changes, Outlook 2000/2002 articles will apply as well. See http://msdn.microsoft.com/en-us/library/ff869622.aspx for more info about the control. (I thought the article I posted yesterday also linked to some 2002/2000 articles but I don't see them today. )
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S mouse right click options Using Outlook 2
Emerogork How do I remove "Delete Folder" from the right-click menu? Using Outlook 1
L Add to Right Click Menu Using Outlook 10
B Right click-drag no longer creates hyperlinks Using Outlook 2
S How to add a new menu item to a right click context menu of a link Using Outlook 5
M right click contact to create an appointment Using Outlook 4
Z Right click menu Outlook VBA and Custom Forms 4
N Right-click an address -> add to BCM? [OL2007] BCM (Business Contact Manager) 1
Z Automatically adjust Outlook Reading Pane from bottom to right depending on portrait or landscape window Using Outlook 1
A Any way to make Outlook Calendar invitations look right to Gmail/Google Calendar users? Using Outlook 3
D cannot view emails in View pane (in the right pane), I only see one line or nothing Using Outlook 21
e_a_g_l_e_p_i Outlook 2010 How can I change the font size on right side appointment pane Using Outlook 12
C Set reminder / appointment by right clicking email Using Outlook 1
C how to remove icons on right hand side outlook 2013 Using Outlook 2
T Forwarded long email moves text to the right Using Outlook 1
E Inbox view changed can't get it right Using Outlook 0
A viewing tasks - lower right - in email window Using Outlook 1
I Notification/Popup Box not showing on right side Using Outlook 1
A edit right pane of mail Outlook VBA and Custom Forms 15
N Adding 'Add To Business Contacts' when right-clicking an email add BCM (Business Contact Manager) 2
B How to create a button that sorts and selects the most recent message with ONE click Using Outlook 2
F Jump to Inbox folder when click on Favorite Using Outlook 8
M White square in body of Outlook Messages (O2016 Version 2012 32bit Click To Run) Using Outlook 4
Eike Move mails via macro triggered by the click of a button? Outlook VBA and Custom Forms 0
P Unread Until Click Another Message? Using Outlook 2
O On click,I want to change subject line of selected mail and then reply to particular email and move Using Outlook 3
Diane Poremsky Using Scanpst in Outlook Click to Run Using Outlook 0
J Can Click to Drag Custom Form Field But Cannot Drop When Designing in Outlook 2007 Outlook VBA and Custom Forms 2
B Open a folder / subfolder of a PST in single click Outlook VBA and Custom Forms 4
C Reminder for single-click appointment Using Outlook 2
Diane Poremsky Contacts are missing when you click the To button Using Outlook 0
M Office 365 Click to run BCM (Business Contact Manager) 0
B Auto name checking upon Tab or Click off To field(s) Using Outlook 19
F Jump to Inbox folder when click on Favorite Using Outlook 0
D Must now "View on Facebook" for Mentions/Comments-Outlook 2013 click-to-run Using Outlook 2
I BCM Opportunity: click on "new op" opens a "new tasks" BCM (Business Contact Manager) 0
M Automatically move Outlook message to the specific folder when click on reply to all Using Outlook 4
M Blank Pop-up Window when click "Manage Sharing" BCM (Business Contact Manager) 1
R click to toggle quick click category reasigns to where ? Using Outlook 2
T Is the standalone Outlook 2013 click-to-run or msi? Using Outlook 1
A Uninstall Click and Run Exchange Server Administration 2
A email folders appear empty, at first click Using Outlook 2
L Outlook 2010 Instant Search Pops When I Click Using Outlook 6
M When I click “new message” in outlook, my cursor defaults to the body of the m Using Outlook 6
T Click "A" to see all email from people with names starting with A... etc Using Outlook 3
V Can't click on embedded link in Outlook e-mails--error message "not allowed" Using Outlook 6
T drag drop/opening drop down/single click acts like double/highlighting Using Outlook 7
F When I click on link in email nothing occurs Using Outlook 7
M Programatically click the Send button. Outlook VBA and Custom Forms 5
K call a help file when click on a button xml ribbon Outlook VBA and Custom Forms 1

Similar threads