October 30, 2025, 05:21:17 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


RGBA()

Started by definitelyokay, February 22, 2011, 02:55:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

definitelyokay

I have the EBasic starter edition that doesn't have the 3d library, but I need the RGBA function for some GDI+ stuff.

Anyone know what I can do?

Thanks,

Joseph :)

LarryMc

PM Larry(RockRidge)

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

definitelyokay

Well, this works:

Sub ARGB(a As Word, r As Word, g As Word, b As Word), Word
Return (a<<24) + (r<<16) + (g<<8) + b
EndSub


I'm not sure I have anything to tell him?

LarryMc

Quote from: JosephE on February 22, 2011, 03:15:43 PM
I'm not sure I have anything to tell him?
Nothing since you have solved your problem.

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library