> So, does anyone know how to "persuade" windows to draw disabled
> controls/windows, particularly Edit windows, with black (not dark grey)
> text?

The controls you're talking about respond to the WM_Enable message, which is
sent as a result of disabling the control (Enabled := False ->
EnableWindow(Handle, False)).  If you trap WM_Enable on the control yourself
(override or hook the WindowProc) and don't call inherited to pass it on
then although the control window will be disabled, the controls won't *know*
they're disabled and won't draw themselves in grey. :-)

Cheers,
Carl
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to