🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Vista Form TitleBar Caption length limited to 265?

#1935
From: Alan Bellingham
Date: Fri, 08 Jun 2007 15:37
30 lines
2325 bytes
"Wiebe Vos" <wiebe@foxware.nl> wrote:

>Thanks Alan,
>
>I originally did and this worked (also) up to WinXP.
>However in Vista, painting the titlebar is an entirely different thing since
>one has to deal with Aero Theme Glass and DWM (Desktop Windows Manager)
>bussiness.

Ah, I see. I must admit, I've not tried Vista yet. Well, it's partly
installed on a machine at home, but it needs up-to-date drivers, and
until then it can't see the RAID volume, and ... you know the drill.

>Up till now I did not succeed and tried, in vain, to accomplish things
>the other way.
>
>BTW, I might have drawn the wrong conclusion because it seems
>that also in WinXP the captiontext length is limited. But, due to font
>differences?, under Vista the captiontext required more 'filling' spaces.
>(An 'invisible' wider filling character would do the trick.)

Hmm. I think this particular technique is going to be fault prone,
simply because of the unpredictability of relative character widths,
etc. etc. I can see how you were tempted into trying to fudge it, but I
can only assume you've ended up going down a dead end path.

Alan Bellingham
-- 
Team Browns
ACCU Conference 2008: 2-5 April 2008 - Oxford (probably), UK
Technical Details
Message-ID: <klti63tbu5hco8v5ha2g2gi5df4rq74ucp@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <466947eb@newsgroups.borland.com> <tvni63dhf7hkr44lbdd61m13f0s8nlo0m3@4ax.com> <46696e10$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bdfe25deb757db5
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alan@lspace.org>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Vista Form TitleBar Caption length limited to 265?
Date: Fri, 08 Jun 2007 16:37:39 +0100
Organization: Private
Reply-To: alan@lspace.org
Message-ID: <klti63tbu5hco8v5ha2g2gi5df4rq74ucp@4ax.com>
References: <466947eb@newsgroups.borland.com> <tvni63dhf7hkr44lbdd61m13f0s8nlo0m3@4ax.com> <46696e10$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 4.2/32.1118
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1181317058 193.129.251.253 (8 Jun 2007 08:37:38 -0700)
Lines: 30
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail