Brad
July 14th, 1999, 11:57 AM
Is is just me, or is CColorDialog::GetSavedCustomColors() broken in VC 5.0? It always seems to return 16 white COLORREF's. To get the custom colors the user has entered, I had to access dlg.m_cc.lpCustColors after DoModal() returns, instead of using GetSavedCustomColors() as I think the documentation says to do. Looking at the MFC source, it doesn't appear that the array that GetSavedCustomColors() uses, _afxClrState->m_crSavedCustom, is ever updated.