ChooseColor
E724283
ChooseColor is a Windows common dialog box function that lets applications display a standard color-selection interface for users to pick and customize colors.
Statements (50)
| Predicate | Object |
|---|---|
| instanceOf |
Windows API function
ⓘ
common dialog box function ⓘ |
| allowsUserAction |
choose from basic colors
ⓘ
customize a color ⓘ define custom colors ⓘ select a color ⓘ |
| category | Windows common dialog functions ⓘ |
| definedIn |
Win32 API
NERFINISHED
ⓘ
Windows API NERFINISHED ⓘ |
| dialogType | standard color-selection interface ⓘ |
| displays | Color Selection dialog box ⓘ |
| errorRetrievalFunction | CommDlgExtendedError ⓘ |
| hasDLL | Comdlg32.dll ⓘ |
| hasHeader | commdlg.h ⓘ |
| hasLibrary | Comdlg32.lib ⓘ |
| hasParameter | LPCHOOSECOLOR lpcc ⓘ |
| inputField |
lpcc->Flags
ⓘ
lpcc->hInstance ⓘ lpcc->hwndOwner ⓘ lpcc->lpCustColors ⓘ lpcc->rgbResult ⓘ |
| introducedFor | standardized color selection in Windows applications ⓘ |
| namespace | global Win32 API namespace ⓘ |
| outputField |
lpcc->lpCustColors
ⓘ
lpcc->rgbResult ⓘ |
| providedBy | Microsoft Windows NERFINISHED ⓘ |
| relatedFunction |
ChooseFont
ⓘ
GetOpenFileName NERFINISHED ⓘ GetSaveFileName NERFINISHED ⓘ PrintDlg NERFINISHED ⓘ |
| returns | BOOL ⓘ |
| returnValueMeaning |
nonzero indicates success
ⓘ
zero indicates failure or user cancel ⓘ |
| runsOn | Microsoft Windows NERFINISHED ⓘ |
| supportsCharacterSet |
ANSI
NERFINISHED
ⓘ
Unicode NERFINISHED ⓘ |
| typicalUseCase |
allow users to pick colors for UI elements
ⓘ
allow users to pick colors for drawing or painting tools ⓘ |
| usesFlag |
CC_ANYCOLOR
ⓘ
CC_ENABLEHOOK ⓘ CC_ENABLETEMPLATE ⓘ CC_ENABLETEMPLATEHANDLE ⓘ CC_FULLOPEN ⓘ CC_PREVENTFULLOPEN ⓘ CC_RGBINIT ⓘ CC_SHOWHELP ⓘ CC_SOLIDCOLOR ⓘ |
| usesStructure |
CHOOSECOLOR
ⓘ
CHOOSECOLORA ⓘ CHOOSECOLORW ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.