Article View: borland.public.cppbuilder.nativeapi
Article #1134Re: Draw patern like scrollbar background
From: Bob Gonder
Date: Sat, 27 Oct 2007 15:05
Date: Sat, 27 Oct 2007 15:05
20 lines
1487 bytes
1487 bytes
Asger J๏ฟฝrgensen wrote: >I need to draw a patern like scrollbar background You might consider using the standard "Hatch brush" HS_DIAGCROSS. See CreateHatchBrush() Otherwise, first create a bitmap for it. You might be able to use MSPAINT to create an 8x8 bitmap. Then decide what you really want to do with it. See Help on Patern Brush Pattern Using Pens See also CreateHatchBrush() CreatePatternBrush() CreateDIBPatternBrushPt()
Technical Details
Message-ID:
<8qj6i3lpjsp7rs3vjguhd87ek7pp2i1o8j@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<MPG.218cbdf0c1ed5d51989885@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,60d83adf9925505f X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Draw patern like scrollbar background Date: Sat, 27 Oct 2007 08:05:31 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <8qj6i3lpjsp7rs3vjguhd87ek7pp2i1o8j@4ax.com> References: <MPG.218cbdf0c1ed5d51989885@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 69.69.83.102 X-Trace: newsgroups.borland.com 1193497532 69.69.83.102 (27 Oct 2007 08:05:32 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail