"The code is exactly
how I would like to write code and the algorithms used are very
efficient and well-documented."
Van T. Dinh, Microsoft MVP
|
|
Class: CColorDialog
Displaying the Choose Color Common Dialog
|
Procedure Name
|
Type
|
Description
|
|
(Declarations)
|
Declarations
|
Declarations and private variables for the CColorDialog class
|
|
Color
|
Property
|
Gets the current color
|
|
Flags
|
Property
|
Gets the flags.
The Flags property can have the following values:
colEnableHook - Unsupported in this class
colEnableTemplate - Unsupported in this class
colEnableTemplateHandle - Unsupported in this class
colFullOpen - Causes the dialog to be displayed with the define custom colors section already open.
colPreventFullOpen - Disables the Define Custom Colors button.
colRgbinit - Initializes the color selected in the dialog to the value specified in the Color property.
colShowHelp - Unsupported in this class
Multiple flags can be specified using the following syntax:
ColorDialog.Flags = colFullOpen Or colRGBInit
|
|
hWndParent
|
Property
|
Gets the hWnd of the parent
|
|
Class_Initialize
|
Initialize
|
Set initial values
|
|
Show
|
Method
|
Displays the choose color dialog common dialog.
|
Overview of Total Visual SourceBook
The source code in Total Visual
SourceBook includes modules and classes for Microsoft Access, Visual
Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily
add this professionally written, tested, and documented royalty-free code
into your applications to simplify your application development efforts.
Additional Resources
|
|