🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Add shadow to a form

#9869
From: Remy Lebeau (TeamB)
Date: Fri, 11 Jun 2004 17:55
29 lines
2140 bytes
"Mario Sernicola" <mariosernicola@nospam.libero.it> wrote in message
news:40c999be$1@newsgroups.borland.com...

> SystemParametersInfo(0x1025, FALSE, NULL, 0);

You have the parameters backwards.  The FALSE should be passed via the
pvParam parameter, but you are passing it via the uiParam parameter instead.

>    SystemParametersInfo(0x1025, TRUE, NULL, 0);

Again, you have the parameters backwards

> There's a way to not use RecreateWnd function?

As I said earlier, the form's window can be recreated for a number of other
reasons beyond your own code.  Using CreateParams() is the most reliable way
to ensure that your custom settings are always applied whenever the window
is recreated for any reason.

> My really scope is to obtain a shadow like Photoshop splash
> screen, that shadow is bigger and better than the shadow I
> can obtain with previous code

I have not seen Photoshop's splash screen in several years, so I cannot
comment on that.  Can you please provide a screen shot?


Gambit
Technical Details
Message-ID: <40c9f304$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
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>

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>
Subject: Re: Add shadow to a form
Date: Fri, 11 Jun 2004 10:55:07 -0700
Lines: 31
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: <40c9f304$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1086976772 68.169.168.124 (11 Jun 2004 10:59:32 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail