I am going to ask this question even though it seems when I ask a MFC question I dont get an answer, so I spend days try to figure it out. Am I the only one doing MFC programming?

Before I state my question, I might be doing this wrong. If you know of a better way/correct way to do this please let me know.

How do I get a Resource ID attached to a Richedit class?

Let me see if I can explain. I am creating a MFC program where my main window has splitter windows inside of it. I have one of the splitter windows being a RichEditView. Here is the code:

m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CMsgWindow),CSize(0, 100), pContext);



I have made a class which is a CRichEditView, called CMsgWindow. Now it loads ok, I can makes changes to the attribs and I can type in. But there is no Resource ID attached to it (At least not that I know of), so I cant do any functions that require that. How can I fix that? The bottom line is I would like to do a DataExchange with it.

Any help would be great.
Thanks