Product : Engine, Version : 4.0.1.1018, ArticleID : 41018054

HowTo : Color Dialog

Article41018054
TypeHowTo
ProductEngine
Version4.0.1.1018
Date Added4/3/2003
Submitted bySheena Konikkara
Keywords

Subject

Color Dialog

Summary

Hi,
I'm using the utility GetColorDlg. Our customers are all over the world. Is this dialog dictionary enabled? I'm having one suggestion also. If the user picks up the color, the selected color is shown by it's value. But majority of the users can not relate this number to the color they chose. So in addition to showing the color value, it'll be great if selected color as shown as highlighted? MS color dialog does this. One more suggestion is that there should be another parameter to hide the enitire gray shade feature.
Regards,
Sheena

Solution

You can customize this dialog. See our help topic "International Resources". Go to folder "were you installed VD"\International\Resources\VDrawRes and open the VC++ 6.0 project. Click the "Resource View" tab and select "IDD_SELECTCOLOR" Dialog. There you can change the text that are displayed (localize).

If you want 2 versions of this dialog, 1 with the Grey Shades and 1 without them, then you have to build 2 resources (1 with the Grey Shades visible and 1 hidden) and change between them with code in your project. (in VDraw control you have to change the property of VDrawRes to the name of the DLL you have previous build).