Skip to content
⌘ NSIS Forum Archive

picture in gradient

9 posts

Bizzeh#

picture in gradient

is there any way of putting a picture in the gradiant window on the installer😁
Angry Weasel#
So? Is anyone up to the task, or perhaps...

Could Justin add the option to use either a gradient or an image?
Guest#
It's possible to hack up the splash so that it will stay on the background, someone already did this I can remember, so search the form for "splash" or something...

Good luck, Hn3.
petersa#
For Win9x systems, check HKEY_CURRENT_CONFIG\Display\Settings\Resolution. No idea for Windows NT.
kichik#
The only way I have found is with an extarnal DLL:

HDC hdc = GetDC(NULL); // retrieves the device context for the entire screen
if (hdc == NULL)
return WhatEverNSISgetsForICant;
return GetDeviceCaps(hdc, HORZRES); // return width, in pixels, of the screen.
or
return GetDeviceCaps(hdc, VERTRES); // return height, in raster lines, of the screen.
For a complete list of constant GetDeviceCaps knows to handle go to:
Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


KiCHiK