Re: Button Forecolor When Disabled

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



govolsbaby@xxxxxxxxx wrote:
Is there a way to leave the button forecolor unchanged when it is
disabled?

I have multiple buttons on the form and depending on various user
inputs, some will or will not be enabled but I'd rather their text not
go to gray.

What happens if you use RemoveHandler for its handlers instead of disabling
it, so you can still push it but nothing happens? Or, in the handler, do
nothing, depending on the state of a flag?

Or you could substitute the button with a picture of the button.

Andrew


.



Relevant Pages

  • Re: Right Click Crashes Windows Explorer
    ... What about other shell extensions (not only Context Menu handlers). ... tried temporarily disabling them as well? ... see if the Event Viewer provides any clue on the Windows Explorer ...
    (microsoft.public.windows.vista.installation_setup)
  • Re: Right Click Crashes Windows Explorer
    ... What about other shell extensions (not only Context Menu handlers). ... tried temporarily disabling them as well? ... see if the Event Viewer provides any clue on the Windows Explorer ...
    (microsoft.public.windows.vista.installation_setup)
  • Re: disabling toolbar buttons????
    ... Disabling will/should happen ... as soon the document closes and OnUpdateCommandUI handlers are not found. ... > void CMyView::OnPointer ... the code DOES work when the toolbar is docked ...
    (microsoft.public.vc.mfc)
  • Re: explorer.exe locks up >> autopatch
    ... If you know of anymore please let me know as disabling it didn't work. ... Rock wrote: ... > Did you try disabling some of the windows handlers too. ...
    (microsoft.public.windowsxp.general)
  • Re: Picture Resizer Power Tool
    ... Once the scan is over and the list is displayed, you need to spot the context menu handlers. ... If disabling one does not solve the problem, undo the disabled item and disable the next non-Microsoft handler. ... Ramesh, Windows XP MVP ...
    (microsoft.public.windowsxp.help_and_support)