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

add a designed group into a existing inspector ribbon



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 3rd 10, 10:16 AM
khoick245 khoick245 is offline
Junior Member
 
First recorded activity at Outlookbanter: Mar 2010
Posts: 10
Default add a designed group into a existing inspector ribbon

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  
Old April 5th 10, 03:39 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default add a designed group into a existing inspector ribbon

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  
Old April 6th 10, 05:39 PM
khoick245 khoick245 is offline
Junior Member
 
First recorded activity at Outlookbanter: Mar 2010
Posts: 10
Default

Quote:
Originally Posted by Ken Slovak - [MVP - Outlook] View Post
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
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???
  #4  
Old April 6th 10, 11:24 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default add a designed group into a existing inspector ribbon

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  
Old April 9th 10, 03:14 PM
khoick245 khoick245 is offline
Junior Member
 
First recorded activity at Outlookbanter: Mar 2010
Posts: 10
Default

Quote:
Originally Posted by Ken Slovak - [MVP - Outlook] View Post
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
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 !

Last edited by khoick245 : April 9th 10 at 03:16 PM.
  #6  
Old April 9th 10, 07:28 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default add a designed group into a existing inspector ribbon

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  
Old April 13th 10, 04:20 PM
khoick245 khoick245 is offline
Junior Member
 
First recorded activity at Outlookbanter: Mar 2010
Posts: 10
Default

Quote:
Originally Posted by Ken Slovak - [MVP - Outlook] View Post
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
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
  #8  
Old April 14th 10, 07:31 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default add a designed group into a existing inspector ribbon

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


All times are GMT +1. The time now is 05:53 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.