Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Changing Color on a Disabled Button (http://www.outlookbanter.com/add-ins-outlook/65135-changing-color-disabled-button.html)

PS January 15th 08 03:45 PM

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

Ken Slovak - [MVP - Outlook] January 15th 08 09:16 PM

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



PS January 15th 08 10:42 PM

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

Ken Slovak - [MVP - Outlook] January 15th 08 11:28 PM

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



PS January 16th 08 05:39 PM

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.

Ken Slovak - [MVP - Outlook] January 16th 08 06:59 PM

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.




All times are GMT +1. The time now is 12:31 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-2006 OutlookBanter.com