First, usage of CHtmlEditCtrl is poorly documented, to say the least. It is hard to figure out what can be done with that control and what not. Calling SetDocumentHTML in OnInitDialog does not seem to work at all. Calling GetDocumentHTML right afterwards does not give the expected result. The documentation does not say anything at all.The destructor is protected so you have to derive from CHtmlEditCtrl. Why? And if it is required, what must the derived class perform to be usable? No useful information in MSDN and via Google. Does anybody use that control at all?Second, documented functions do not compile. Try to call SetBackColor for a CHtmlEditCtrl object. There is an ambiguity in QueryStatus of CHtmlEditCtrlBase.