forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

%ww[casts_shadow]
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Sat Mar 02, 2019 6:30 pm    Post subject: Reply with quote

More recent versions of Windows have messed up the display for this option. I did some work on it and the result was an improvement but not a good fix. If you have the latest version of ClearWin+ that will show the result of the fix.

I am not sure that this option remains useful since more recent versions of Windows already gives you a good shadow.
Back to top
View user's profile Send private message AIM Address
EKruck



Joined: 09 Jan 2010
Posts: 224
Location: Aalen, Germany

PostPosted: Sun Mar 03, 2019 8:05 am    Post subject: Reply with quote

Paul,
my version is 8.40; the DLLs in my directory for my programs are dated Nov. 2018. I do not need a fix; I removed cast_shadow.
Erwin
Back to top
View user's profile Send private message Visit poster's website
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Sun Mar 03, 2019 11:30 am    Post subject: Reply with quote

Thanks for the effort Paul.

Some differentiation is required if a window is captionless and volatile, but unnecessary for standard dialogs.

I started using drop_shadow for such things when pop-up menus didn't work with %gr areas, and stuck with them after that was fixed (partly because there wasn't much of a fanfare, but also partly because i found that you could have all sorts of extra things like data entry boxes that you couldn't with a pop-up menu).

The answer might be some other effect than a drop shadow, maybe even a different colour, but a drop shadow is effective - it needs to be denser than a Windows standard drop shadow, but the latest Windows versions render this rather crudely. Perhaps MS don't intend drop shadows to be used and this is their way of telling us.

I suppose that my solution is to experiment.

Eddie
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Sun May 15, 2022 7:50 pm    Post subject: Reply with quote

Is it just my imagination, or have drop shadows in CW+ when using Win 10 got even less useful recently?

I found this on the internet:

https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Composition.DropShadow?view=winrt-22000

but as it is dated May 24-26 2022 and today is only May 15, it left me even more confused than MSDN normally does!

Eddie
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Sun May 15, 2022 8:48 pm    Post subject: Reply with quote

Eddie

cast_shadow is no longer supported and is no longer useful in ClearWin+.

It is native to ClearWin+ and unrelated to the supplied link.
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Mon May 16, 2022 10:48 am    Post subject: Reply with quote

Hi Paul,

I beg to differ on the 'no longer useful', except with the reservation that 'no longer supported' certainly makes it 'no longer useful'. I'm also fascinated by the idea that 'no longer supported' can be made retrospective, although I suppose that downloading the latest DLLs is a mechanism for that, akin to downloading the latest Windows updates.

I didn't see any mention of it in the online Revision history, and it is still mentioned in the online help for %ww*, so perhaps my not realising it was 'no longer supported' is understandable and therefore perhaps forgiveable. The contents of the link might as well be written in Egyptian hieroglyphs** as far as I am concerned, but it was what I found doing a search for 'drop shadow' when looking for an explanation as to why things were evolving. The link, incidentally, suggests that drop shadows don't need to be 'native to ClearWin+' but are native to Windows itself, in which case I impudently refer you back to an earlier statement that you made that ClearWin+ is simply a wrapper for Windows functionality (or words to that effect).

I'd already worked out that I might have to do something different in order to go forward, especially as the Windows paradigm has been to shift away from a pseudo 3D appearance towards a more flat look - but I haven't yet worked out quite what. I'd appreciate any suggestions from anyone out there who has solved the related problem for themselves. I appreciated the prompt reply as it is the necessary impetus*** to go and do the job differently rather than to put it off in the hope that somehow the issue resolved itself.

Eddie

* Which rather means that the short, four-letter, response of RTFM cannot be used in this context.

** I'd always imagined that an understanding of MSDN's arcane language resided up there in Silverfrost's HQ. I regarded myself as a latter-day Bouchard, or perhaps Thomas Young, in recognising the significance of relevant elements in the MSDN page while using Google Search as my Rosetta Stone, but that the skills of a true Champollion to decypher it all only resided up there in Salford.

https://blog.britishmuseum.org/everything-you-ever-wanted-to-know-about-the-rosetta-stone/

*** In this respect I shall consider myself to be Bishop Brennan to your Father Ted!
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Mon May 16, 2022 11:49 am    Post subject: Reply with quote

Eddie

The shadow is provided internally by ClearWin+ and worked quite well for a while with the early APIs. But changes in the Microsoft API has had an adverse effect on the displayed result.

I spent a long time trying to restore the original ClearWin+ shadow but with limited success. Also at that time Microsoft was providing a similar shadow by default.

If this is important to you then I can try again but I am not confident that I can provide a permanent fix (i.e. one that will not change as the APIs evolve).

Paul
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Mon May 16, 2022 3:17 pm    Post subject: Reply with quote

Hi Paul,

I hope that you were able to take my reply in the tongue in cheek manner in which it was intended. As a result of the Fr Ted - Bishop Brennan kick up the backside, I've had a look at the code, and the lack of a drop shadow is in principle compensatable by deletion of casts_shadow, and insertion of a %bg coloured appropriately.(RGB@(110, 110, 110) seems to work well instead of the previous btnface) I have noted that the current frame colour for my popup windows makes it immaterial whether or not I have no_frame, but it depends somewhat on also having thin_border. I have considered wallpaper, but there are several sizes to consider, and there is also the issue of different dpi settings.

It did seem to me that the MSDN link indicated that a drop shadow feature was being implemented in the MS Windows API, but I suspect strongly that I'm the only user with this particular interest so I wouldn't waste time on it (unless, of course, it grabbed your fancy). I'd already assumed that I was having to find a workaround.

This whole business of features being dropped (by MS, not by SF) irritates me, but then I've noticed it in numerous other contexts, including in cars (e.g. now no wash before wipe), other software like my beloved CorelDRAW, and even the stock at my local Waitrose where anything I find I like is rapidly discontinued!

Eddie
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group