[Q] Inserting OLE Controls with Doc/View
=?EUC-KR?B?vK3B+Mij?= -- synabreu@ahnlab.co.kr
Wednesday, December 04, 1996
Environment: Windows95/NT, VC++4.2b
I have a MFC based SDI application with Doc/view.
by the way, I wanna inserting with Ole contorls.
I wanna inserting It's only CView, not CFormView.
Is it Possible? How do I....?
so far I'm seeing things Dialog-Templete inserting.
synabreu@ahnlab.co.kr
Kevin Tarn -- kevin@earth.pln.com.tw
Sunday, December 08, 1996
Try these :
1. Insert your OLE Control from component gallery.
2. Use COleControl::Create to create the ole control window
3. Do the painting jobs in your CView::OnDraw
Kevin Tarn
kevin@pln.com.tw
----------
±HҐуЄМ: јБшИЈ[SMTP:synabreu@ahnlab.co.kr]
¶З°e¤йґБ: 1996¦~12¤л4¤й PM 17:38
¦¬ҐуЄМ: mfc-l@netcom.com
ҐD¦®: [Q] Inserting OLE Controls with Doc/View
Environment: Windows95/NT, VC++4.2b
I have a MFC based SDI application with Doc/view.
by the way, I wanna inserting with Ole contorls.
I wanna inserting It's only CView, not CFormView.
Is it Possible? How do I....?
so far I'm seeing things Dialog-Templete inserting.
synabreu@ahnlab.co.kr
Cleve -- cleve@buzard.com
Wednesday, December 11, 1996
How do you go about using OnDraw to do the painting jobs?
----------
Try these :
1. Insert your OLE Control from component gallery.
2. Use COleControl::Create to create the ole control window
3. Do the painting jobs in your CView::OnDraw
Kevin Tarn
kevin@pln.com.tw
Mike Blaszczak -- mikeblas@nwlink.com
Friday, December 13, 1996
At 01:45 12/11/96 -0800, Littlefield, Cleve wrote:
>How do you go about using OnDraw to do the painting jobs?
>
>>----------
>>Try these :
>>
>>1. Insert your OLE Control from component gallery.
>>2. Use COleControl::Create to create the ole control window
>>3. Do the painting jobs in your CView::OnDraw
You don't need to. Since OLE Controls are child windows of the
window that contains them, you don't have to worry about painting
them; Windows will invalidate them whenver it's appropriate and
they'll paint their own selves.
.B ekiM
http://www.nwlink.com/~mikeblas/
I'm afraid I've become some sort of speed freak.
These words are my own. I do not speak on behalf of Microsoft.
| Вернуться в корень Архива
|