Search Result

Collapse
2 results in 0.0024 seconds.
Keywords
Members
Tags
c fromargb
  •  

  • C#-FORM: Problem using the function FromArgb(Int32)

    Hi,
    I am trying to use the function Color.FromArgb( Int32). The Int32 is on the format AARRGGBB, where AA is the alpha component.

    My problem is that when I want to specify a solid color I need to give the alpha value FF, but that will not fit in an Int32 value (e.g. 0xFFFF0000 for solid red), since the largest Int32 value is 0x7FFFFFFF. How can I define a (near) solid color using this function?
    See more | Go to post

  • Gulliver
    Guest started a topic Color.FromARGB

    Color.FromARGB

    Having a terible time figuring out how to get Color.FromARGB to work. Anyone
    been successful at implementing this control?...
    See more | Go to post
Working...