Show a GDI+ image in a SplashImage Window ?

Get help with using AutoHotkey 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: 2038
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: 1308
Joined: 23 Feb 2016, 19:45
Location: Denmark

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”

Who is online

Users browsing this forum: HELLiPOD, HiSoKa, IceBubble, Lord-9621, TAC109 and 43 guests