![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
hi all. i built a gallery on a xml ribbon. in xml file, the gallery has structu
gallery id="glrSymbolic" getItemLabel="glrSymbolic_getItemLabel" item id="id1" label="%LastName%" / item id="id2" label="%FirstName%" / item id="d3" label="%UserName%" / item id="id4" label="%Email%" / /gallery in the cs file. i callback event getItemLabel public string glrSymbolic_getItemLabel(Office.IRibbonControl control, string index) { switch (index) { case "id1": return "%LastName%"; case "id2": return "%FirstName%"; case "id3": return "%UserName%"; case "id4": return "%Email%"; default: return String.Empty; } } my purpose is that i want to get the label of items in the gallery whenever i choice a item from gallery but it's not work. can you give me some suggestions? |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem of using callback interface IRichEditOleCallback of IRichEditOle | squall | Add-ins for Outlook | 0 | August 6th 09 03:35 PM |
How to call CALLBACK functions from COM Add-In | K.VenkataRamana | Add-ins for Outlook | 1 | July 9th 08 02:47 PM |
What's the callback field for in the to do list? | Pamoola | Outlook - Calandaring | 1 | April 23rd 08 06:05 PM |
QUICK PARTS GALLERY | Kailas | Outlook - General Queries | 2 | September 14th 07 02:20 PM |
can't upload to images gallery | microsoft offline online | Outlook - General Queries | 0 | May 6th 06 04:11 AM |