Color Dialog Flags
Const CC_RGBINIT = &H1
Const CC_FULLOPEN = &H2
Const CC_PREVENTFULLOPEN = &H4
Const CC_SHOWHELP = &H8
Const CC_SOLIDCOLOR = &H80
Const CC_ANYCOLOR = &H100
The color dialog flags tell Windows how to render the Choose Color dialog box. The flags can be combined as long as they do not contradict each other (for example, using CC_FULLOPEN and CC_PREVENTFULLOPEN together would cause an error).
- CC_RGBINIT
- Make the color specified by rgbResult be the default color.
- CC_FULLOPEN
- Automatically display the Define Custom Colors half of the dialog box.
- CC_PREVENTFULLOPEN
- Disable the button that opens the Define Custom Colors half of the dialog box.
- CC_SHOWHELP
- Display the Help button. (Unfortunately, I don't know how to make the button do anything.)
- CC_SOLIDCOLOR
- Return the solid-color equivalent of the selected color.
- CC_ANYCOLOR
- Return the textured-color equivalent of the selected color even if it is not solid.
Used by: ChooseColor (used through CHOOSECOLORS)
Back to the index.
Back to Paul Kuliniewicz's Home Page
E-mail: Borg953@aol.com
This page is at http://members.aol.com/Borg953/api/constants/colordialogflags.html