Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What property sets the window title color?

0 views
Skip to first unread message

JMM Software

unread,
Jun 2, 2003, 3:11:19 PM6/2/03
to
What property to I need to set in order to set the color of the title
bar of my application's main window (from the default of blue)?

I can't seem to find it.

Thanks,
Joe

Remy Lebeau (TeamB)

unread,
Jun 2, 2003, 3:28:44 PM6/2/03
to

"JMM Software" <smr...@jmmsoftware.com> wrote in message
news:3EDBA157...@jmmsoftware.com...

> What property to I need to set in order to set the
> color of the title bar of my application's main window

There isn't any. That coloring is controlled by the OS itself, not the VCL.
To change the coloring, you will have to intercept the WM_NCPAINT message
directly and draw the entire titlebar yourself manually.


Gambit


0 new messages