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 ![Go to next message Go to next message](theme/default/images/down.png) |
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 ![Go to previous message Go to previous message](theme/default/images/up.png) |
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.
![index.php?t=getfile&id=4594&private=0](index.php?t=getfile&id=4594&private=0)
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: Sun Sep 01 04:57:47 CEST 2024
Total time taken to generate the page: 0.02611 seconds
|