GetColorDialog¶
GetColorDialog displays a color dialog box.
-
rvColorRGB = GetColorDialog()
-
rvColorRGB = GetColorDialog(rvColorRGBInit)
Return Value
rvColorRGB vector with 3 elements or the number 0 if the Cancel button was selected.
Parameters
-
rvColorRGBInit
rvColorRGBInit Init color.
Comment
The user colors are saved in the windows registry. Width
GetProfileInt("settings", "custcolor0")
to
`` GetProfileInt(“settings”, “custcolor15”)`` the 16 user colors can be read.
With Color_COLORREF_to_RGB(rsColor)
the color value can be converted to
a vector with 3 elements.
See also
id-435871