How can I add a ColorChanged event to ColorDialog?

223 Views Asked by At

I want to process an event at point when the user chooses a color. Is it possible to add ColorChanged event to the ColorDialog?

1

There are 1 best solutions below

2
Visual Vincent On BEST ANSWER

If you mean before you've pressed OK, then the answer is most likely no.

The ColorDialog is just a wrapper for a native Win32 dialog, and it's very hard (maybe even impossible) to modify them from .NET.

I'd say your best option is to create a form mimicking the dialog's layout, and implement the event there.