Is there any way to use color codes and bold/underline codes in a dialog?

Thanks