How to create control used by ColorEditor

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way to create an instance of the control that is used by
System.Drawing.Design.ColorEditor (i.e., the control that appears when you
click on a color in a PropertyGrid)? I want to allow the user to select a
color from within my app (but not from a PropertyGrid). The control that is
used by the ColorEditor is perfect but I can't find it anywhere.

Thanks for any help!
Lance
 
The color pallette control used by ColorEditor is not public and therefore
cannot be used separately. As an alternative, you can consider using the
ColorDialog common dialog.

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
 
ljlevend2 said:
Is there any way to create an instance of the control that is used by
System.Drawing.Design.ColorEditor (i.e., the control that appears when you
click on a color in a PropertyGrid)? I want to allow the user to select a
color from within my app (but not from a PropertyGrid). The control that is
used by the ColorEditor is perfect but I can't find it anywhere.

Thanks for any help!
Lance

There's an excellent range of ColorPickers here -

http://msdn.microsoft.com/msdnmag/issues/03/07/GDIColorPicker/default.aspx

If you need any extra assistance, post back with your questions.

ShaneO

There are 10 kinds of people - Those who understand Binary and those who
don't.
 
Back
Top