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

How to prohibit command bar buttons customization?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 12th 06, 04:28 PM posted to microsoft.public.outlook.program_vba
Andrey Starodoubtsev
external usenet poster
 
Posts: 1
Default How to prohibit command bar buttons customization?

Hi, all!..
There is some Outlook add-in, which creates its command bar. After this
command bar creation its .Protection will be set in msoBarNoCustomize +
msoBarNoVerticalDock + msoBarNoChangeDock - perfectly, in CommandBar
menu-Add or remove buttons this command bar name is grayed and we can't to
turn on/off button visibility on it. But we can change buttons order by
dragging them, can assign pictures to any button on this command bar, can
even remove button from command bar by dragging it out etc. - all of these
actions we'd like to prohibit.
This can be done - at the same Outlook version XTNDConnect and Nod32 are
installed, and all context menu items for this buttons are disabled.
Difference of these buttons from ours - they have .ID==32768 and
..FaceID=32768, but i can't to set this properties from add-in code, and i'm
afraid that this is indirect consequence of smth other mechanism of customize
prohibition.
Did you met similar problem?
  #2  
Old July 13th 06, 03:02 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to prohibit command bar buttons customization?

ID and FaceID only apply to built-in controls.

See if Or'ing msoBarNoMove into that setting helps.

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


"Andrey Starodoubtsev" darkmist(spam-protection)mail.ru wrote in message
news
Hi, all!..
There is some Outlook add-in, which creates its command bar. After this
command bar creation its .Protection will be set in msoBarNoCustomize +
msoBarNoVerticalDock + msoBarNoChangeDock - perfectly, in CommandBar
menu-Add or remove buttons this command bar name is grayed and we can't
to
turn on/off button visibility on it. But we can change buttons order by
dragging them, can assign pictures to any button on this command bar, can
even remove button from command bar by dragging it out etc. - all of these
actions we'd like to prohibit.
This can be done - at the same Outlook version XTNDConnect and Nod32 are
installed, and all context menu items for this buttons are disabled.
Difference of these buttons from ours - they have .ID==32768 and
.FaceID=32768, but i can't to set this properties from add-in code, and
i'm
afraid that this is indirect consequence of smth other mechanism of
customize
prohibition.
Did you met similar problem?


 




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
how to find out, that inspector window contain command bar or not Ram Add-ins for Outlook 1 May 30th 06 02:17 PM
adding coomand bar buttons to inspector window Ram Add-ins for Outlook 4 May 26th 06 06:16 AM
Exchange Mailbox server prohibit from sending when reach mailbox size limit Milly Staples [MVP - Outlook] Outlook - General Queries 1 February 24th 06 06:41 PM
Command bar button FaceID Icon donald Add-ins for Outlook 20 February 9th 06 06:42 PM
Your current security settings prohibit running ActiveX controls on this page Tony Girgenti Outlook - General Queries 6 February 8th 06 04:05 PM


All times are GMT +1. The time now is 03:49 PM.


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.