P
Paul-Jan Pauptit
I have extended a default (Outlook 2010 folder-) contextmenu with some
<buttons> that need to have their label set depended on the currently
selected item (folder).
According to the MSDN articles, I need to hook all appropriate
selectionChange events, then call ribbonUI.invalidateControl(). However, I
have two problems with this approach:
1. Right clicking an item to popup a context menu does _not_ trigger a
selection change, does it? I needed to do some massive workarounds in Outlook
2003/2007 to figure out the folder that was "clicked on". I was really hoping
the new ribbon interface would solve this problem.
2. I cannot set a GetLabel event on a context menu button. Even though the
XSD says I can, Outlook simply refuses to read in the XML when I do.
Any help or guidance would be appreciated!
<buttons> that need to have their label set depended on the currently
selected item (folder).
According to the MSDN articles, I need to hook all appropriate
selectionChange events, then call ribbonUI.invalidateControl(). However, I
have two problems with this approach:
1. Right clicking an item to popup a context menu does _not_ trigger a
selection change, does it? I needed to do some massive workarounds in Outlook
2003/2007 to figure out the folder that was "clicked on". I was really hoping
the new ribbon interface would solve this problem.
2. I cannot set a GetLabel event on a context menu button. Even though the
XSD says I can, Outlook simply refuses to read in the XML when I do.
Any help or guidance would be appreciated!