[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
ChooseColor( < nRGBDefColor >, < nFlags > ) -> < nRGBColor >
------------------------------------------------------------------------------
PARAMETER:
<nRGBDefColor> Is the color that will appear automatically when the
DialogBox starts.
<nFlags> optional flags:
CC_FULLOPEN Causes the entire dialog box to appear
( 2 ) when the dialog box is displayed,
including the portion that allows the
user to create custom colors
CC_PREVENTFULLOPEN Disables the Define Custom Colors
( 4 ) button, preventing the user from
creating custom colors.
CC_SHOWHELP Causes the dialog box to show the Help
( 8 ) button
RETURNS:
<nRGBColor> is the RGB value of the color selected. If no selection is
is done, nRGBDefColor is returned.
DESCRIPTION:
The ChooseColor() function creates a system-defined dialog box from which
the user can select a color. The dialog box does not support color
palettes, the color choices offered by the dialog box are limited to
the system colors and dithered versions of those colors.
EXAMPLE:
+-------------------------------------------------------------+
| /* Select a color */ |
| |
| nRgb := ChooseColor( CLR_CYAN ) |
| |
+-------------------------------------------------------------+
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson