WinLIFT 64-bit Skin Engine

Headers, Bindings, Libraries for use with FreeBASIC, Please include example of use to help ensure they are tested and usable.
Post Reply
Patrice Terrier
Posts: 36
Joined: Jan 06, 2006 8:27
Location: France
Contact:

WinLIFT 64-bit Skin Engine

Post by Patrice Terrier »

Image

WinLIFT 7.00, is a 64-bit UNICODE subclassing skin engine, designed to work with (or without) the GDImage graphic library.
It can work with standard controls, or with WinLIFT/GDImage specific custom controls.

It is a Paypal donate ware librairy
https://www.paypal.com/cgi-bin/webscr?c ... source=url

To unlock the software you have to use your private zUserKey key sent to you when you registered.
skInitEngine (@SkinFile, @zUserKey) ' Do it there
Note: Without registration, you can skin only one popup at a time.

WinLIFT is using .sks file that works like a XML manifest or a cascading style sheet for HTML files.
More about this on the objreader dedicated section.
http://www.objreader.com/index.php?board=20.0

About the SkinTHEMES demo.
- It allows you to change dynamically the skin theme, with the "Previous Skin theme" or the "Next Skin theme" arrow buttons.
- You can change the image background, by clicking on the icon caption with either the left or right mouse button.
- This project uses only WinLIFT specific custom controld.
- All controls are using anchor properties to keep them aligned when resizing the window.
- WinLIFT use private .ttf fonts (no need to install them first) this ensure that text looks always the same whatever the host computer.
- The engine works in DWM composited mode using variable opacity.

Link to download the project:
https://www.zapsolution.com/FreeBasic/SkinTHEMES.7z
Last edited by Patrice Terrier on Jun 24, 2025 13:55, edited 1 time in total.
srvaldez
Posts: 3653
Joined: Sep 25, 2005 21:54

Re: WinLIFT 64-bit Skin Engine

Post by srvaldez »

Patrice Terrier wrote: Jun 18, 2025 17:54 It is a Paypal donate ware librairy
what amount is a reasonable/acceptable donation ?
I don't want to donate an amount that would be considered an insult
dodicat
Posts: 8269
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: WinLIFT 64-bit Skin Engine

Post by dodicat »

I'm Skint.
Patrice Terrier
Posts: 36
Joined: Jan 06, 2006 8:27
Location: France
Contact:

Re: WinLIFT 64-bit Skin Engine

Post by Patrice Terrier »

So far you can use the DLL for free as long as there is only one popup window in your project.
If it is a commercial project, you need to have a private key license to redistribute the DLL.

@dodicat
Skint, is that another skin engine?
srvaldez
Posts: 3653
Joined: Sep 25, 2005 21:54

Re: WinLIFT 64-bit Skin Engine

Post by srvaldez »

SKINT Definition & Meaning
Merriam-Webster
https://www.merriam-webster.com › dictionary › skint
adjective ˈskint Synonyms of skint chiefly British : without money : penniless However skint I am, I always pay my services bills.
Patrice Terrier
Posts: 36
Joined: Jan 06, 2006 8:27
Location: France
Contact:

Re: WinLIFT 64-bit Skin Engine

Post by Patrice Terrier »

My next challenge now, shall be to convert my GDImage64 header to FreeBasic.
To show you what could be done when mixing WinLIFT & GDImage together, and perhaps my 3D engine DLL.

BTW, the forum [img] tag doesn't work with http, have to use https, why such limitation?
Imortis
Moderator
Posts: 1984
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: WinLIFT 64-bit Skin Engine

Post by Imortis »

https://en.wikipedia.org/wiki/Cross-sit ... st_forgery

Because calling insecure content from a secure site makes the secure site insecure.
adeyblue
Posts: 360
Joined: Nov 07, 2019 20:08

Re: WinLIFT 64-bit Skin Engine

Post by adeyblue »

Looks like there's a GDI handle leak in this somewhere. If you rapidly change theme/skin, the GDI handle count in Task Manager/Process Explorer goes up, and it never goes back to baseline. It also increases if you minimize and restore the window.
Patrice Terrier
Posts: 36
Joined: Jan 06, 2006 8:27
Location: France
Contact:

Re: WinLIFT 64-bit Skin Engine

Post by Patrice Terrier »

@adeyblue

Good catch, investigating...
Patrice Terrier
Posts: 36
Joined: Jan 06, 2006 8:27
Location: France
Contact:

Re: WinLIFT 64-bit Skin Engine

Post by Patrice Terrier »

@adeyblue

I found the culprit

This is a problem occuring with Windows 11.
A classic example of how undocumented changes in ownership semantics (like DWM not freeing passed-in regions anymore) can cause subtle leaks that only show up on newer OS builds.

The link to the ZIP file has been updated (see first post bottom).
Patrice Terrier
Posts: 36
Joined: Jan 06, 2006 8:27
Location: France
Contact:

WinLIFT 64-bit Homothetic resize

Post by Patrice Terrier »

This project is to show you the build-in Homothetic resize.

Image

Homothetic is exclusive, it couldn't be intermixed with other anchor properties.
The same percentage ratio is applied to all child controls when resizing the parent popup.

For the fun I have added a few colored skSetLabelFont using a private font.

Note: The menu does nothing (it has been borrowed to my ObjReader 3D engine)

Link to download the project:
Homothetic FreeBasic 64-bit
Löwenherz
Posts: 283
Joined: Aug 27, 2008 6:26
Location: Bad Sooden-Allendorf, Germany

Re: WinLIFT 64-bit Skin Engine

Post by Löwenherz »

Hello Patrice

Your link from Post1 doesn't Work

Link to download the project:
http://www.objreader.com/download/demo/SkinTHEMES.zip
Patrice Terrier
Posts: 36
Joined: Jan 06, 2006 8:27
Location: France
Contact:

Re: WinLIFT 64-bit Skin Engine

Post by Patrice Terrier »

@Löwenherz

The link to the SkinTHEMES project has been updated using my zapsolution htpps web site, rather than my ObjReader http private forum.
https://www.zapsolution.com/FreeBasic/SkinTHEMES.7z
Post Reply