🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to modify Form Title Bar while using Vista Theme?

#2086
From: Wiebe Vos
Date: Tue, 01 May 2007 08:52
14 lines
1435 bytes
We're using BCB6.
In order to control colors and position, we display the caption on title bar 
of
our forms via DrawText() on a canvas. Up till WinXP no problem.
However in Windows Vista (bussiness ed), with Theme in Display Properties
(<Start><Control Center><Appearance and Themes><Change the computer's 
theme>)
set to 'Windows Vista', no text at all is displayed on the title bar.
When Theme is set to 'Windows Classic' the text is displayed as usual.

Any suggestion how to solve this?

Thanks in advance,
Wiebe 
Technical Details
Message-ID: <4636ffd7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,51ec178405f923db,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Wiebe Vos" <wiebe@foxware.nl>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to modify Form Title Bar while using Vista Theme?
Date: Tue, 1 May 2007 10:52:38 +0200
Lines: 16
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: 62.131.171.202
Message-ID: <4636ffd7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1178009559 62.131.171.202 (1 May 2007 01:52:39 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail