|
-
July 14th, 1999, 11:57 AM
#1
Custom colors and CColorDialog::GetSavedCustomColors()
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|