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

Tags: , , , , ,

Updating Properties on Custom Button from another Custom ButtonsonAction Event





 
 
Thread Tools Display Modes
  #1  
Old May 30th 08, 05:30 AM posted to microsoft.public.outlook.program_addins
david.reck@studentinsurance.net
external usenet poster
 
Posts: 1
Default Updating Properties on Custom Button from another Custom ButtonsonAction Event

I added a custom group to the TabNewMailMessage Tab in the Outlook
2007 Ribbon. The xml for the custom group is below.

customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
onLoad="Ribbon_OnLoad"
ribbon
tabs
tab idMso="TabNewMailMessage"
group id="EncryptionGroup"
getVisible="EncryptionGroup_GetVisible"
getLabel="EncryptionGroup_GetLabel"
toggleButton
id="EncryptButton"
getLabel = "EncryptButton_GetLabel"
getSupertip="EncryptButton_GetSupertip"
onAction ="EncryptButton_Action"
imageMso="Lock"
/
toggleButton
id="DoNotEncryptButton"
getLabel = "DoNotEncryptButton_GetLabel"
getSupertip="DoNotEncryptButton_GetSupertip"
onAction ="DoNotEncryptButton_Action"
imageMso="ReadingViewShowPrintedPage"
/
/group
/tab
/tabs
/ribbon
/customUI

As you can see I have two toggle buttons in my group. I want to be
able to make them toggle mutually exclusive. When the onAction event
fires on one I would like to be able to set the state on the other
button to up. I can't figure out from the parameters of the method
(Office.IRibbonControl control, bool isPressed) how to get access to
the other button. I am new to Outlook extensions so this is probably
something simple I just haven't seen it.

Let me know if you have any questions.
Ads
 




Thread Tools
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
custom button in custom toolbar sat Outlook - General Queries 2 August 24th 06 09:03 PM
re-post: custom button in custom toolbar stef Outlook - General Queries 3 August 8th 06 11:30 PM
re-post: custom button in custom toolbar stef Outlook and VBA 3 August 8th 06 11:30 PM
MSG Custom properties on right click custom tab stephaniedunsire@hotmail.com Add-ins for Outlook 1 February 1st 06 07:00 PM
MSG Custom properties on right click custom tab Steph Outlook and VBA 1 February 1st 06 06:55 PM


All times are GMT +1. The time now is 01:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Shares - Loans - Debt Management - Debt Consolidation - CreditCards