a chat window
-
hi, using the MFC, I just want to have a window in which u can chat, so with an edit control at the bottom and also a view to display a text. and then my real problem will be to display a text on this window, I thing that I will have to use the OnPaint(), but I don't really know how to deal with that stuff. thx for ur help. -- Kas'pac'll be back.
-
hi, using the MFC, I just want to have a window in which u can chat, so with an edit control at the bottom and also a view to display a text. and then my real problem will be to display a text on this window, I thing that I will have to use the OnPaint(), but I don't really know how to deal with that stuff. thx for ur help. -- Kas'pac'll be back.
Hello. You can use the CFormView Class .The FormView have a look like Dialog.You can place a RichEdit control on the top of form view and place a Edit control on the bottom of form view. Good luck!:)
-
hi, using the MFC, I just want to have a window in which u can chat, so with an edit control at the bottom and also a view to display a text. and then my real problem will be to display a text on this window, I thing that I will have to use the OnPaint(), but I don't really know how to deal with that stuff. thx for ur help. -- Kas'pac'll be back.
-
Hello. You can use the CFormView Class .The FormView have a look like Dialog.You can place a RichEdit control on the top of form view and place a Edit control on the bottom of form view. Good luck!:)
-
Hi, thanks for ur idea TLiu, I'll try that, but I still wonder how to do to display a text on the RichEdit control. thx very much. -- Kaspac'll be back.
You can reference to MSDN about CRichEidt.I remenber that there is a sample in MSDN about wordpad.Using CRichEdit in the sample.;)