🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Capture WM_NCPAINT?

#4753
From: Paw Suddergaard
Date: Tue, 29 Nov 2005 08:22
25 lines
1866 bytes
Hi,

Thanks for the reply's... I have just testet the code in WinXP without 
Theming on, and the problem is still there???

I have 2 forms, in the main form i have a boolean, when set to true and 
the second form opens - (would even be better if it could do so even its 
open) the title is shown in red font color...

This works! - BUT if i select the main form(sets focus) the second form 
loses its title... - there is nothing...

I must mention that to do the drawing i needed to remove the second 
forms caption, so its empty but i draw it with normal color if the 
boolean is false....


I hope this makes sence...



Thanks in advance!


/Paw
Technical Details
Message-ID: <438c0d22$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!news-in.newsgroups.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43843bb9$1@newsgroups.borland.com> <43843d59$1@newsgroups.borland.com> <438b21c8$1@newsgroups.borland.com> <438b89a3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,95cf0255de9936de
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 29 Nov 2005 09:22:33 +0100
From: Paw Suddergaard <paw@top-house.dk>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Capture WM_NCPAINT?
References: <43843bb9$1@newsgroups.borland.com> <43843d59$1@newsgroups.borland.com> <438b21c8$1@newsgroups.borland.com> <438b89a3$1@newsgroups.borland.com>
In-Reply-To: <438b89a3$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.242.10.213
Message-ID: <438c0d22$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1133251874 62.242.10.213 (29 Nov 2005 00:11:14 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!news-in.newsgroups.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail