Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Mark Lo Chiano
|
Dec 18, 2006 - 12:50 PM
|
Is there a way to specify the initial color selection mode (e.g. MODE_RGB_CUBE) for the standard CExtColorDlg, prior to a doModal call?
|
|
Technical Support
|
Dec 19, 2006 - 7:07 AM
|
You could use the following version of the color selection dialog: class CYourColorDialog : public CExtColorDlg
{
protected:
virtual BOOL OnInitDialog()
{
VERIFY( CExtColorDlg::OnInitDialog() );
m_wndColorCtrl = CExtColorCtrl::MODE_RGB_CUBE;
return TRUE;
}
};
|
|