BCGControlBar Pro for MFC
void CBCGPEditCtrl::ExportToHTML ( CString &  strBuffer)

Saves the content of edit control to a memory buffer adding HTML tags for color blocks.

Call this function to save the content of editor to a memory buffer represented by text string. All the color blocks will be enclosed in the HTML tags.

strBufferA reference to the output text string.