Article View: borland.public.cppbuilder.nativeapi
Article #1933Re: Vista Form TitleBar Caption length limited to 265?
From: Wiebe Vos
Date: Fri, 08 Jun 2007 14:56
Date: Fri, 08 Jun 2007 14:56
27 lines
1940 bytes
1940 bytes
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. 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.) Wiebe > >> ... or is there a way around? > > The *obvious to me* workaround would be to do the caption painting > yourself. If you check the WM_NCPAINT message, then you can find when > the frame needs painting. > > Alan Bellingham > -- > Team Browns > ACCU Conference 2008: 2-5 April 2008 - Oxford (probably), UK
Technical Details
Message-ID:
<46696e10$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.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-mailReferences:
<466947eb@newsgroups.borland.com> <tvni63dhf7hkr44lbdd61m13f0s8nlo0m3@4ax.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: "Wiebe Vos" <wiebe@foxware.nl> Newsgroups: borland.public.cppbuilder.nativeapi References: <466947eb@newsgroups.borland.com> <tvni63dhf7hkr44lbdd61m13f0s8nlo0m3@4ax.com> Subject: Re: Vista Form TitleBar Caption length limited to 265? Date: Fri, 8 Jun 2007 16:56:05 +0200 Lines: 29 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: <46696e10$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1181314576 62.131.171.202 (8 Jun 2007 07:56:16 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.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