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

Changing Color on a Disabled Button



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 15th 08, 04:45 PM posted to microsoft.public.outlook.program_addins
PS
external usenet poster
 
Posts: 35
Default Changing Color on a Disabled Button

All -

I really need help with this one. any pointers or direction for this
will be a big help.

Background -

I have an Outlook Addin developed in VSTO 2005 SE for Outlook 2003. I
create a Command Bar Button on new emails which can be pressed by the
users and then they send email (If pressed it stamps a MAPI property).
When the recipient recieves the email - based if the MAPI property
exists we make the button disabed as per the business requirements.

All this works fine.

Issue -
What business users want is when the button is in disabled taxt - it
should have red in color and be bold (to make it more prominent) .

I dont see any option to do this when the button is in disabled state
at all. Everything can be done in enabled state but not in disabled
state.

Can anybody please help.

Thanks
  #2  
Old January 15th 08, 10:16 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Changing Color on a Disabled Button

Does your button have an image on it? Use a different image for the button
just before you disable the button. That's about the best you can do.

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


"PS" wrote in message
...
All -

I really need help with this one. any pointers or direction for this
will be a big help.

Background -

I have an Outlook Addin developed in VSTO 2005 SE for Outlook 2003. I
create a Command Bar Button on new emails which can be pressed by the
users and then they send email (If pressed it stamps a MAPI property).
When the recipient recieves the email - based if the MAPI property
exists we make the button disabed as per the business requirements.

All this works fine.

Issue -
What business users want is when the button is in disabled taxt - it
should have red in color and be bold (to make it more prominent) .

I dont see any option to do this when the button is in disabled state
at all. Everything can be done in enabled state but not in disabled
state.

Can anybody please help.

Thanks


  #3  
Old January 15th 08, 11:42 PM posted to microsoft.public.outlook.program_addins
PS
external usenet poster
 
Posts: 35
Default Changing Color on a Disabled Button

Ken

Thanks for the reply.

The issue I am facing is that i need to either use the image on the
whole of button - so that i can make it have bold text/red color.

I am currently using an image but it only takes the icon position in
the beggining. cant seem to find out how to make it come across the
complete button
  #4  
Old January 16th 08, 12:28 AM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Changing Color on a Disabled Button

If it's msoButtonIconAndCaption then you can't cover the entire surface,
only the icon portion. If you change it to msoButtonIcon it will get
smaller. Your users will have to settle for what can be done, not what they
want.

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


"PS" wrote in message
...
Ken

Thanks for the reply.

The issue I am facing is that i need to either use the image on the
whole of button - so that i can make it have bold text/red color.

I am currently using an image but it only takes the icon position in
the beggining. cant seem to find out how to make it come across the
complete button


  #5  
Old January 16th 08, 06:39 PM posted to microsoft.public.outlook.program_addins
PS
external usenet poster
 
Posts: 35
Default Changing Color on a Disabled Button

Completety agree on ur view - the users will have to settle for what
MS provides vs what they really fancy.

But the issue here is - this is the CEO of your firm who wants it
personally and ofcourse you want to try to accomodate him.

anyways what I have done yesterday is keep the button enabled and
pressed always (in the state when it was normally disabled) and hence
its a little more prominent than the disabled button. Seems to satisfy
for now.

Thanks for all the help though - really appreciate it.
  #6  
Old January 16th 08, 07:59 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Changing Color on a Disabled Button

Even CEO's have to live with what's possible. If he doesn't feel that's
enough he's free to purchase MS and direct that the feature he wants is
added to Outlook and Office.

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


"PS" wrote in message
...
Completety agree on ur view - the users will have to settle for what
MS provides vs what they really fancy.

But the issue here is - this is the CEO of your firm who wants it
personally and ofcourse you want to try to accomodate him.

anyways what I have done yesterday is keep the button enabled and
pressed always (in the state when it was normally disabled) and hence
its a little more prominent than the disabled button. Seems to satisfy
for now.

Thanks for all the help though - really appreciate it.


 




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
Changing Button Color when pressed PS Add-ins for Outlook 2 October 12th 07 06:20 AM
Changing font color in a reply Twotone Outlook and VBA 1 August 14th 07 07:28 PM
Color Categories toolbar button ctc Outlook - Installation 1 March 18th 07 07:39 PM
Add button to set flag color and category [email protected] Outlook and VBA 1 October 31st 06 08:02 PM
Changing Color of Custom Forms Amanda Outlook - Using Forms 2 September 12th 06 02:45 PM


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