🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Popla Fri, 15 Dec 2006 04:44
Background color
#2870
Author: Popla
Date: Fri, 15 Dec 2006 04:44
14 lines
1165 bytes
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.


Thnks
Re: Background color
#2874
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads