> > Anil,
> >
> > I would advise you to make use of vfp-skin if you want to change the colour of your VFP form only.
> >
> > Regards,
> >
> > Koen
>
> Hi koen
> i have no problem with form actually. i want to change the color of Main Vfp WIndow's Title Bar.
>
> Anil
>
My BlogYou need to trap the windows WM_NCPAINT and paint using GDI+. There are a number of examples in dotNet and VB that you can translate into VFP. You can also use the GDI+x classes.
Just search for "WM_NCPAINT"
Bernard
** If you see someone without a smile, give em one of yours :) **My Blog 8-)