> 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"
- RE: [DUG]: Appearance of disabled controls Myles Penlington
- Re: [DUG]: Appearance of disabled controls David Brennan
- RE: [DUG]: Appearance of disabled controls Stacey Verner
- Re: [DUG]: Appearance of disabled controls David Brennan
- RE: [DUG]: Appearance of disabled controls Carl Reynolds
- Re: [DUG]: Appearance of disabled controls David Brennan
- RE: [DUG]: Appearance of disabled controls Stacey Verner
- RE: [DUG]: Appearance of disabled controls Stephen Bertram
- Re: [DUG]: Appearance of disabled controls Carl Reynolds
- Re: [DUG]: Appearance of disabled controls David Brennan
- RE: [DUG]: Appearance of disabled controls Carl Reynolds
- Re: [DUG]: Appearance of disabled controls David Brennan
- Re: [DUG]: Appearance of disabled controls David Brennan
- Re: [DUG]: Appearance of disabled controls Deepak Shenoy
- RE: [DUG]: Appearance of disabled controls Carl Reynolds
- Re: [DUG]: Appearance of disabled controls David Brennan
- Re: [DUG]: Appearance of disabled controls Nello Sestini
- RE: [DUG]: Appearance of disabled controls Carl Reynolds
- Re: [DUG]: Appearance of disabled controls Deepak Shenoy
