Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
COLORREF (Structures)
.
Summary
The COLORREF value is used to specify or retrieve an RGB color.
C# Definition:
[StructLayout(LayoutKind .Sequential)]
struct COLORREF {
public byte R;
public byte G;
public byte B;
public Color ToColor() {
return Color.FromArgb((int)R, (int)G, (int)B);
}
public override string ToString() {
return string.Format("({0},{1},{2})",R,G,B);
}
}
VB Definition:
Structure COLORREF
Public R As Byte
Public G As Byte
Public B As Byte
Public Overrides Function ToString() As String
Return String.Format("({0},{1},{2})", R, G, B)
End Function
End Structure
User-Defined Field Types:
None.
Notes:
None.
Documentation
TODO - a short description
3/16/2007 8:17:31 AM - -63.69.129.2
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.