![]() |
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. how to add a new group into Message ribbon of mail.compose inspector? what should i do? I use c# and outlook 2007. thank all
|
Ads |
#2
|
|||
|
|||
![]()
You need to add the new group using ribbon XML that's submitted when the
GetCustomUI() callback is fired. You also will need to handle the callbacks for your ribbon controls. If you know nothing about this you need to go to the MSDN Office Developer Web site and download sample applications for either shared or VSTO addins, whichever you are using, and see how to proceed with your code and XML. You should also download the XML schemas for the ribbons in Office 2007 from the same Web site. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "khoick245" wrote in message ... hi all. how to add a new group into Message ribbon of mail.compose inspector? what should i do? I use c# and outlook 2007. thank all -- khoick245 |
#3
|
|||
|
|||
![]() Quote:
|
#4
|
|||
|
|||
![]()
The rule is you can create a new group in an existing tab, or create a new
tab, but you can't modify existing groups in an existing tab. So you can do what you want. Look at this XML snippet: ribbon tabs tab idMso="TabInsert" group id="myCustomGroup" insertAfterMso="GroupInclude" getLabel="Ribbon_getLabel" getVisible="Ribbon_getVisible" That's the type of XML you have to supply, in this case the XML was for a new group in the Insert tab. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "khoick245" wrote in message ... snip hi Ken. thanks for your help. i think i did it. now i want to add new group into tab Message of mail.compose ribbon. what should i do??? -- khoick245 |
#5
|
|||
|
|||
![]() Quote:
gallery id="glrSymbolic" screentip="Select Symbolic" label="Select Symbolic" showImage="false" item id="__id1" label="%LastName%" / item id="__id2" label="%FirstName%" / item id="__id3" label="%UserName%" / item id="__id4" label="%Email%" / /gallery I want whenever i choice a item from gallery, the label will be inserted into position of pointer in current mail compose( assume that i'm composing email at that time ). Can you give me some suggestions? thank you ! Last edited by khoick245 : April 9th 10 at 03:16 PM. |
#6
|
|||
|
|||
![]()
Sorry, I've never worked with gallery controls in a ribbon, I can't help
with that. If it were me I'd do some googling on that to find samples I could review. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "khoick245" wrote in message ... snip hi Ken. i have some new problems. i added group into existing tab. On this group, i created a gallery which has its xml structu gallery id="glrSymbolic" screentip="Select Symbolic" label="Select Symbolic" showImage="false" item id="__id1" label="%LastName%" / item id="__id2" label="%FirstName%" / item id="__id3" label="%UserName%" / item id="__id4" label="%Email%" / /gallery I want whenever i choice a item from gallery, the label will be inserted into position of pointer in current mail compose( assume that i'm composing email at that time ). Can you give me some suggestions? thank you ! -- khoick245 |
#7
|
|||
|
|||
![]() Quote:
|
#8
|
|||
|
|||
![]()
I told you I've never worked with gallery controls, so I have no information
or insights in working with them at all. As far as inserting text unless you are using Redemption you more or less would have to get the HTMLBody and cast it as an IHTMLDocument object and then use HTML code to work with the document. At that point it's all HTML coding that would be covered in an HTML group. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "khoick245" wrote in message ... snip hi ken ! i'm sorry to trouble you but i tried my best i hadn't solved my problem yet. i want to insert a text into current position of cursor when i compose mail. although i found many sources by google, i could not figure out what should i do. can you give me some suggestion or related code? i use C# 2008 and Outlook 2007. thank you so much -- khoick245 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding a button to existing ribbon | Tom[_4_] | Add-ins for Outlook | 6 | April 4th 10 01:44 PM |
add a designed group into a existing inspector ribbon | khoick245 | Outlook - General Queries | 0 | April 3rd 10 10:08 AM |
Using Ribbon in Inspector window | [email protected] | Add-ins for Outlook | 2 | May 21st 09 07:59 PM |
Add a control / button inside the group - Ribbon Bar | Vela | Add-ins for Outlook | 3 | January 25th 08 04:32 PM |
Outlook 2007 Task Form Insert Ribbon (Attach Group) | [email protected] | Outlook - General Queries | 9 | April 26th 07 07:38 PM |