Steven,

its a pageful of code.  You need to trap WMNCPaint message then 
getwindowrect, create brush drawtext etc.

What this does do is give you solid colour only.

To:                     Multiple recipients of list delphi <[EMAIL PROTECTED]>
Send reply to:          [EMAIL PROTECTED]
From:                   "Steven Wild" <[EMAIL PROTECTED]>
Subject:                [DUG]:  R Form caption colour
Date sent:              Fri, 14 Apr 2000 10:17:32 +1200

> Yes, that is what we want to do but I don't know how to actually set the colour of 
>the caption bar on a form.  From your response I take it that there is a simple 
>property that I am not seeing.  What is it?
> 
> Rob
> 
> >Dear Rob,
> > 
> >>>In particular we want to force the colour of the caption bar on all forms and not 
>allow the changes made in the windows >>>colour setting place to change it.
> > 
> >You may develop a TForm inherited class which you can force the colour of the 
>caption bar. And all your forms inherited >from that class.
> > 
> >Best Regards
> >Leigh Wanstead
> 



Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to