15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


CRichEditView in a dialog

Dan Edwards -- dedwards@silvercrk.com
Friday, September 20, 1996


Environment: Win NT 4, Win95, VC++ 4.2, MSDN 1

I want to display a CRichEditView in a modal dialog box, or at least a
dialog box looking Window. I can't figure out how I would create a
doc/view/frame template that I could display at anytime in a modal sort of
way. The only solution I've come up with is a totally seperate executable.
That would be completly ridiculus. Any ideas? 

Thanks
Dan



rkumar@mail.cswl.com
Wednesday, September 25, 1996

     I guess what u want is to have rich edit control in ur dialog box
     For this u will have to include a richcontrol object in ur dialog 
     class and then create it using the CRichEditCtrl::Create function.
                                or 
     If u want to have the rich edit view as model try calling 
     CFrameWnd::BeginModalState() and CFrameWnd::EndModalState();
     for the child frame.
                                                
                                                Ratan
                                                Rkumar@cswl.com
     


______________________________ Reply Separator _________________________________
Subject: CRichEditView in a dialog
Author:  mfc-l@netcom.com at internet
Date:    23/09/96 4:14 AM


     
Environment: Win NT 4, Win95, VC++ 4.2, MSDN 1
     
I want to display a CRichEditView in a modal dialog box, or at least a 
dialog box looking Window. I can't figure out how I would create a 
doc/view/frame template that I could display at anytime in a modal sort of 
way. The only solution I've come up with is a totally seperate executable. 
That would be completly ridiculus. Any ideas? 
     
Thanks
Dan





| Вернуться в корень Архива |