Changing Color on a Disabled Button

  • Thread starter Thread starter PS
  • Start date Start date
P

PS

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

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
 
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.
 
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.
 
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.
 
Back
Top