the control palette

does anyone know how to make the control palette buttons for colors? Could you please help me find the code as well. Thanks for the helps…
Cheers

this isn’t really on topic, but I believe you are searching for the common dialogue

Actually i wanted to implement a colors palette button in my program. But i just don’t have any idea how to do it. Thanks

You don’t say anything about how you’re writing this app. If it’s straight Win32 calls, look at ChooseColor. If you’re using MFC look at CColorDialog. If you’re using Borland… well… they probaly have their own class you can use too. You should become friends with MSDN. It has lots of invaluable information on stuff like this.

Opps, my apologize. I’m using Win32 console for my application…Thanks and any further information will be very helpfull…