Show a GDI+ image in a SplashImage Window ?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
eL Tux
Posts: 66
Joined: 06 Nov 2015, 07:52

Show a GDI+ image in a SplashImage Window ?

05 Oct 2019, 14:02

Hi, there is any way to show a GDI+ image in a SplashImage ?
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Show a GDI+ image in a SplashImage Window ?

05 Oct 2019, 14:11

Code: Select all

hObject := Gdip_CreateHBITMAPFromBitmap(pBitmap)
SplashImage, HBITMAP:%hObject%
DeleteObject(hObject)
User avatar
Capn Odin
Posts: 1352
Joined: 23 Feb 2016, 19:45
Location: Denmark
Contact:

Re: Show a GDI+ image in a SplashImage Window ?

05 Oct 2019, 14:11

Can't a bitmap handle just be used directly ?
Please excuse my spelling I am dyslexic.
eL Tux
Posts: 66
Joined: 06 Nov 2015, 07:52

Re: Show a GDI+ image in a SplashImage Window ?

06 Oct 2019, 20:31

Xtra wrote:
05 Oct 2019, 14:11

Code: Select all

hObject := Gdip_CreateHBITMAPFromBitmap(pBitmap)
SplashImage, HBITMAP:%hObject%
DeleteObject(hObject)
Hum, thanks, this work but... I hoped in this way I can use the GDI transparency on the image but... the transparency don't work, maybe you have a solution for this ?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: popdeg, slishnevsky, Spawnova and 165 guests