Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
#definefunction RGB(red, green, blue) return ((red mod 256)+(green mod 256)*256+(blue mod 256)*256*256) #endfunction ARGB(alpha, red, green, blue)msdn states: The color value contains four, 8-bit components: alpha, red, green, and blue. The first 8 bits (the most significant) contain the alpha component, the next 8 bits contain the red component, the next 8 bits contain the green component, and the next 8 bits (the least significant) contain the blue component. The 32-bit value is stored in a variable of type ARGB.
#definefunction ARGB(Alpha, red, green, blue) return (blue << 0) |(green << 8) |(red << 16) | (Alpha << 24) #endfunction
Article ID: W16682
File Created: 2005:02:18:12:21:52
Last Updated: 2005:02:18:12:21:52