FF23352A it returns 0x23352A
but FF05110A it returns 0x5110A
Code: Select all
SetFormat, Integer, H
pToken := Gdip_Startup()
pBitmap := Gdip_CreateBitmapFromHBITMAP(HSplashScreenChoose)
ARGB := Gdip_GetPixel( pBitmap, 283, 53 ) ; ARGB := FF05110A
RGB := ARGB & 0xffffff
Gdip_DisposeImage(pBitmap)
Gdip_Shutdown(pToken)
SetFormat, Integer, D
msgbox % RGB
return