PC SOFT
ONLINE REPOSITORY
FOR WINDEVWEBDEV AND WINDEV MOBILE

Home |  | Sign in | English US
WD collection
Published by Patrice TERRIER
in the category Entertainment
New features



Description
"WD Collection" is a demo based on the use of the 64-bit GDImage graphic library.
It is also a small anthology of the best photos of commercial brochures.

This project has no WINDEV window because it relies directly on the low-level API.
As a result the size of the WINDEV framework is reduced to a minimum, with only 3 DLL, namely:
1 - vm64.dll (Virtual Machine)
2 - obj64.dll (objects)
3 - std64.dll (Standard functions)

The accordion effect is created by changing the order of the windows (z-order),
and changing the display width of the bitmaps while mouse hover them.
In order to do this, a WM_MOUSEMOVE event is generated in GDImage to detect mouse movements (MouseMoveCallback procedure).

The animation of the dancer is managed in the procedure "FrameAnimation",
it is based on the value of the constant TIMER_DELAY, which allows to go from one frame to another in loop mode.

The main window is skinned with 4 optional lines of code namely:
// Optional WinLIFT section
skSkinDisable (gP.imageCtrl) // Do not skin the main GDImage control.
sTheme is string = EXEpath () + "AccordionSkin.sks"
IF (skInitEngine (sTheme, "")) THEN
skSkinWindow (hWnd, "Dock | Undock | Minimize | Maximize | Restore | Close")
END

WinLIFT is the "skin engine" that works with GDImage, both are DWM compatible,
which means that all displays are rendered in "compound" mode through the use of DirectDraw and the GPU.
This is very visible with the variable opacity used for rendering the title bar of the window.

Using a private font: "pristina.ttf"
Private fonts are usable "on the fly", without the need to install them in Windows.
This makes sure that rendering text fonts is always the same on all computers that use the project.
It is also possible to use symbol fonts rather than text (very handy to display markers on a map).

Note: the subfolder "EXE" contains the compiled code.
To avoid problems with UAC, you must UNLOCK the ZIP, BEFORE DECOMPRESSING the files,
otherwise the program will not be able to start GDImage64.dll and WinLIFT64.dll properly.

Patrice Terrier
www.zapsolution.com
www.objreader.com
Illustrations, screen shots
none
none
User reviews
(To evaluate this resource, click 'Write a review')
No review or comment? Be the first one!
ABOUT
RATING:
00No rating
DOWNLOADS:
260
PUBLISHED:
September 22, 2019
VERSION:
CONCERNS:
WINDEV
Minimum version: WD17
SIZE:
11.7 MB
OF SAME DEVELOPER