Home » U++ Library support » U++ Widgets - General questions or Mixed problems » mixed RichEdit widget with MFC Dialog. (Is there any way to Imbed RichEdit into MFC Dialog)
mixed RichEdit widget with MFC Dialog. [message #43513] |
Thu, 14 August 2014 19:03  |
mail863
Messages: 6 Registered: July 2014
|
Promising Member |
|
|
I have a project which using MFC Dialog, now I'm adding TextEdit function into this dialog,
I find Upp and it is awesome, excellent, Upp has concept of how to use C++ in a good thinking.
I visited this forum and learned how to use it by myself, but now I still don't know howto imbed RichEdit widget into my already existed MFC Dialog.
can mirek or somebody else give me any advices?
Thanks in advance!
|
|
|
|
|
Re: mixed RichEdit widget with MFC Dialog. [message #43521 is a reply to message #43517] |
Sat, 16 August 2014 14:35  |
mail863
Messages: 6 Registered: July 2014
|
Promising Member |
|
|
Hi mirek, I studied UPP Ctrl's code a lot today, and try to add a method named AttachHwnd in class Ctrl, which create a Top object and attach an existed MFC hwnd to it in my custom created Ctrl, which contains a RichEdit. I think this method can satisfy with my need.

However I cannot implement/resolve it thoroughly, there still left many many problems,
I don't know how to set the event route and let it work elegantly.
I think this is a very useful usage, I'm wondering if UPP can support this function
originaly and if more than one Ctrl can be attached to an external created hwnd.
[Updated on: Sat, 16 August 2014 17:13] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Apr 29 05:47:07 CEST 2025
Total time taken to generate the page: 0.00691 seconds
|