CColorDialog::GetColor

This method returns a COLORREF structure that contains the RGB values for the color selected in the color dialog box.

At a Glance

Header file: Afxdlgs.h
Platforms: H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

COLORREF GetColor( ) const;