Checking for Rich Text formatting in a rich text edit box

Is there a simple way to check if any formatting has been applied to the
text in a rich edit control?
I would like to save the contents as RTF if formatting has been applied,
but as TXT if it has not (saving plain text in RTF takes up a lot of extra
storage space).

TIA

--
Josef Garvi
Eden Foundation, BP 174, Zinder, Niger Republic
Tel:+227 510601, Fax:+227 510263
E-Mail: jo...@eden-foundation.org
WWW: http://www.eden-foundation.org/