Article View: borland.public.cppbuilder.nativeapi
Article #9873Re: Add shadow to a form
From: Remy Lebeau (TeamB)
Date: Fri, 11 Jun 2004 20:10
Date: Fri, 11 Jun 2004 20:10
34 lines
2058 bytes
2058 bytes
"Mario Sernicola" <mariosernicola@nospam.libero.it> wrote in message
news:40ca1165$1@newsgroups.borland.com...
> The pvParams is the third parameter in
Yes, and that is the parameter you are supposed to be passing your
TRUE/FALSE values with. MSDN's documentation even says as much.
> Builder give me an error:
>
> E2034 Cannot convert 'int' to 'void *'
You have to cast:
SystemParametersInfo(0x1025, 0, (void*)TRUE, 0);
SystemParametersInfo(0x1025, 0, (void*)FALSE, 0);
Or possibly use an actual pointer:
BOOL bEnabled = TRUE;
SystemParametersInfo(0x1025, 0, &bEnabled, 0);
bEnabled = FALSE;
SystemParametersInfo(0x1025, 0, &bEnabled , 0);
> I'll try to attach a screenshot of Photoshop autorun
> splash screen on borland.public.attachments
That is not a standard drop shadow. Adobe draws its own shadows onto the
screen manually.
Gambit
Technical Details
Message-ID:
<40ca12da$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40c6e830@newsgroups.borland.com> <40c84615$1@newsgroups.borland.com> <40c88f63$1@newsgroups.borland.com> <40c8a7f1$1@newsgroups.borland.com> <40c8ba1d@newsgroups.borland.com> <40c8c7e5$2@newsgroups.borland.com> <40c999be$1@newsgroups.borland.com> <40c9f304$1@newsgroups.borland.com> <40ca1165$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,700c24ec51a7d447 X-Google-Attributes: gid10cc67,public From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40c6e830@newsgroups.borland.com> <40c84615$1@newsgroups.borland.com> <40c88f63$1@newsgroups.borland.com> <40c8a7f1$1@newsgroups.borland.com> <40c8ba1d@newsgroups.borland.com> <40c8c7e5$2@newsgroups.borland.com> <40c999be$1@newsgroups.borland.com> <40c9f304$1@newsgroups.borland.com> <40ca1165$1@newsgroups.borland.com> Subject: Re: Add shadow to a form Date: Fri, 11 Jun 2004 13:10:59 -0700 Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.169.168.124 Message-ID: <40ca12da$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1086984922 68.169.168.124 (11 Jun 2004 13:15:22 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail