PC Review


Reply
Thread Tools Rate Thread

Add-in buttons and customized toolbars

 
 
=?Utf-8?B?TmV3Q29kZXI=?=
Guest
Posts: n/a
 
      24th Oct 2003
First off, let me thank all the persons involved with this group for their participation. As a newbie, past messages have been an invaluable resource for learning.
I have created a new Outlook toolbar with several buttons with code modeled after ItemsCB. One of the buttons contains a popup, with more buttons showing on its menu. Everything works as expected, until the users customizes the toolbars.
Let's say the user makes a copy of my popup menu button, and in the copy deletes one of the menu buttons. The buttons remaining on this menu continue to work, until Outlook is stopped and then restarted. The copied popup button is there, but all subordinate buttons are missing. How do I get Outlook to retain the subordinate buttons? I can't just put them all back via the add-in, since I don't know
how the user may have customized it.
Similarly, if I have made a copy of one of my buttons to another toolbar via the customize function,
the copied button does not react to changes in attributes (active flag, etc). The only way I know to solve this problem is to scan all toolbars for all occurences of the button of interest (via the tag), and to change the attributes accordingly. This process is somewhat slow. Is there a better way to handle this?
Thanks again for your help.
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      24th Oct 2003
Create your buttons as temporary ones. When your addin starts up check
for any existing instances of your buttons and delete them, then
create what you want as temporary. That way you always know what will
be there.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"NewCoder" <(E-Mail Removed)> wrote in message
news:0DCFB454-76AD-4526-B14F-(E-Mail Removed)...
> First off, let me thank all the persons involved with this group

for their participation. As a newbie, past messages have been an
invaluable resource for learning.
> I have created a new Outlook toolbar with several buttons with code

modeled after ItemsCB. One of the buttons contains a popup, with more
buttons showing on its menu. Everything works as expected, until the
users customizes the toolbars.
> Let's say the user makes a copy of my popup menu button, and in

the copy deletes one of the menu buttons. The buttons remaining on
this menu continue to work, until Outlook is stopped and then
restarted. The copied popup button is there, but all subordinate
buttons are missing. How do I get Outlook to retain the subordinate
buttons? I can't just put them all back via the add-in, since I don't
know
> how the user may have customized it.
> Similarly, if I have made a copy of one of my buttons to another

toolbar via the customize function,
> the copied button does not react to changes in attributes (active

flag, etc). The only way I know to solve this problem is to scan all
toolbars for all occurences of the button of interest (via the tag),
and to change the attributes accordingly. This process is somewhat
slow. Is there a better way to handle this?
> Thanks again for your help.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customized Toolbars J C Microsoft Word Document Management 1 8th Aug 2008 07:06 PM
customized toolbars =?Utf-8?B?R2FyeQ==?= Microsoft Outlook Installation 1 22nd Jul 2006 05:02 AM
Customized Changes to Toolbars =?Utf-8?B?Z2FsbA==?= Microsoft Excel Discussion 1 11th Feb 2005 05:56 PM
Customized Buttons/Toolbars? Navy Microsoft Excel Misc 4 14th Feb 2004 12:41 PM
Customized toolbars ... =?Utf-8?B?U2hhcm9u?= Microsoft Word Document Management 4 17th Nov 2003 02:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:31 PM.