IsGrayedButton is intended to work on radio buttons or
not on regular buttons. From the MSDN documentation,
state of these grayed radio buttons and check boxes is
called "indeterminate"; which is most likely why
(simpler, although a bit misleading) was chosen as the
For regular buttons, it is correct to use
programmaticaly buttons are child windows.
--- In perlguitest@y..., "Ken Hommel" <khommel@y...>
> Either this function doesn't work, or I don't
> of "Grayed" in this context. I think of a "Grayed"
button as a
> that is disabled. I would expect this function to return
> result of IsWindowEnabled.
> As far as I can tell, IsGrayedButton always returns 0.
> is that IsWindowEnabled works.
> If someone else has a better understanding of this
> let me know.
> Thank you,