CColorDialog::OnColorOK

This method allows you to reject a color entered by a user into a common color dialog box for any application-specific reason. Override this method to provide custom validation of the color entered into the 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

virtual BOOL OnColorOK( );