OK so I customized the CColorDialog and added a HEX edit box. What I want to know is how can I update this when the user changes a color in the color dialog box? Is there some function or way to tell me when I should change the hex edit box to reflect the current color selected by the user?