Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Call this function after calling DoModal to force the current color selection to the color value specified in clr.
void SetCurrentColor(
COLORREF clr
);
Parameters
- clr
An RGB color value.
Remarks
This function is called from within a message handler or OnColorOK. The dialog box will automatically update the user's selection based on the value of the clr parameter.
Example
See the example for CColorDialog::OnColorOK.
Requirements
Header: afxdlgs.h