🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2874

Re: Background color

#2874
From: Ed Mulroy
Date: Sat, 16 Dec 2006 14:40
18 lines
1460 bytes
You could subclass the window procedure for the windows in question and 
handle the non-client background painting yourself.

.  Ed

> Popla wrote in message
> news:op.tkk3fsywruigg2@localhost...
>
> Is it possible to change the background color of toolbars,
> menu and frame of the main application.
>
> SetSysColors has too much impact.
> It affects other applications as well.
>
> WM_CTLCOLORDLG has not enough impact.
> It affects only one dialog.
>
> Something in between.
Technical Details
Message-ID: <4584051d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <op.tkk3fsywruigg2@localhost>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,309c23ca35036e29
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ed Mulroy" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <op.tkk3fsywruigg2@localhost>
Subject: Re: Background color
Date: Sat, 16 Dec 2006 09:40:18 -0500
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.57.117.102
Message-ID: <4584051d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1166279965 66.57.117.102 (16 Dec 2006 06:39:25 -0800)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail