🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Customised Title Bar Buttons

#5772
From: Michael
Date: Fri, 15 Jul 2005 10:36
14 lines
1295 bytes
Hello

I have intercepted the WM_NCPAINT message to customise the Caption Bar and
window border for my application window. The problem is I cannot find a way
to stop Windoze drawing the default Caption Bar buttons (Minimise, Maximise
& Close).

I need to know two things (I think)....
    How to stop Windoze drawing the default Caption Bar buttons.
    How to draw my own custom buttons in the Caption Bar.

Thanks in advance for any help with this.

Michael
Technical Details
Message-ID: <42d7919a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a487771a6ef38d6f,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Michael" <michael.dibble@dca-design.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Customised Title Bar Buttons
Date: Fri, 15 Jul 2005 11:36:10 +0100
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
NNTP-Posting-Host: 195.147.198.74
Message-ID: <42d7919a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1121423770 195.147.198.74 (15 Jul 2005 03:36:10 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail