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

callback a gallery in xml ribbon



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 10th 10, 05:09 PM
khoick245 khoick245 is offline
Junior Member
 
First recorded activity at Outlookbanter: Mar 2010
Posts: 10
Default callback a gallery in xml ribbon

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


All times are GMT +1. The time now is 05:35 AM.


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.