Hi,

How can I embed the richink control in the MFC CDialog
class ? I have found document on how-to in main window but
nothing on CDialog. It will be even better if code samples
are available.
Thanks for your help.

Re: embed richink in MFC CDialog by Rob

Rob
Wed Dec 10 14:16:17 CST 2003

If you can provide a link to the article, perhaps someone will be able to
help you adapt it to a CDialog.

--
Rob Elmer
Mobile Devices Product Group
This posting is provided "AS IS" with no warranties, and confers no rights.


"Patrick" <pyhtang1@hgcbroadband.com> wrote in message
news:0b4301c3bf30$1c31b160$a401280a@phx.gbl...
> Hi,
>
> How can I embed the richink control in the MFC CDialog
> class ? I have found document on how-to in main window but
> nothing on CDialog. It will be even better if code samples
> are available.
> Thanks for your help.



Re: embed richink in MFC CDialog by Patrick

Patrick
Wed Dec 10 18:54:19 CST 2003

Hi Rob,

the link of the article is
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnce30/html/richink.asp

Thanks
Patrick


>-----Original Message-----
>If you can provide a link to the article, perhaps someone
will be able to
>help you adapt it to a CDialog.
>
>--
>Rob Elmer
>Mobile Devices Product Group
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>
>"Patrick" <pyhtang1@hgcbroadband.com> wrote in message
>news:0b4301c3bf30$1c31b160$a401280a@phx.gbl...
>> Hi,
>>
>> How can I embed the richink control in the MFC CDialog
>> class ? I have found document on how-to in main window
but
>> nothing on CDialog. It will be even better if code
samples
>> are available.
>> Thanks for your help.
>
>
>.
>

Re: embed richink in MFC CDialog by Rob

Rob
Thu Dec 11 13:48:46 CST 2003

It looks like you can just create the ink window as a child of the dialog.
Alternately, you could add an InkX control to the dialog resource.

--
Rob Elmer
Mobile Devices Product Group
This posting is provided "AS IS" with no warranties, and confers no rights.


"Patrick" <pyhtang1@hgcbroadband.com> wrote in message
news:1168101c3bf81$4efe2230$a601280a@phx.gbl...
> Hi Rob,
>
> the link of the article is
> http://msdn.microsoft.com/library/default.asp?
> url=/library/en-us/dnce30/html/richink.asp
>
> Thanks
> Patrick
>
>
> >-----Original Message-----
> >If you can provide a link to the article, perhaps someone
> will be able to
> >help you adapt it to a CDialog.
> >
> >--
> >Rob Elmer
> >Mobile Devices Product Group
> >This posting is provided "AS IS" with no warranties, and
> confers no rights.
> >
> >
> >"Patrick" <pyhtang1@hgcbroadband.com> wrote in message
> >news:0b4301c3bf30$1c31b160$a401280a@phx.gbl...
> >> Hi,
> >>
> >> How can I embed the richink control in the MFC CDialog
> >> class ? I have found document on how-to in main window
> but
> >> nothing on CDialog. It will be even better if code
> samples
> >> are available.
> >> Thanks for your help.
> >
> >
> >.
> >



Re: embed richink in MFC CDialog by Patrick

Patrick
Tue Dec 16 22:27:26 CST 2003

hi Rob,

Thanks for ur reply.

But how can I embed a non-MFC window control(RichInk) into
a MFC window like CDialog(becoz my application need to do
so ) ? Is this possible ?
I had searched many books and articles but still can't
find method to embed non-MFC window into MFC window.

Patrick


>-----Original Message-----
>It looks like you can just create the ink window as a
child of the dialog.
>Alternately, you could add an InkX control to the dialog
resource.
>
>--
>Rob Elmer
>Mobile Devices Product Group
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>
>"Patrick" <pyhtang1@hgcbroadband.com> wrote in message
>news:1168101c3bf81$4efe2230$a601280a@phx.gbl...
>> Hi Rob,
>>
>> the link of the article is
>> http://msdn.microsoft.com/library/default.asp?
>> url=/library/en-us/dnce30/html/richink.asp
>>
>> Thanks
>> Patrick
>>
>>
>> >-----Original Message-----
>> >If you can provide a link to the article, perhaps
someone
>> will be able to
>> >help you adapt it to a CDialog.
>> >
>> >--
>> >Rob Elmer
>> >Mobile Devices Product Group
>> >This posting is provided "AS IS" with no warranties,
and
>> confers no rights.
>> >
>> >
>> >"Patrick" <pyhtang1@hgcbroadband.com> wrote in message
>> >news:0b4301c3bf30$1c31b160$a401280a@phx.gbl...
>> >> Hi,
>> >>
>> >> How can I embed the richink control in the MFC
CDialog
>> >> class ? I have found document on how-to in main
window
>> but
>> >> nothing on CDialog. It will be even better if code
>> samples
>> >> are available.
>> >> Thanks for your help.
>> >
>> >
>> >.
>> >
>
>
>.
>

Re: embed richink in MFC CDialog by Rob

Rob
Wed Dec 17 21:24:50 CST 2003

Just CreateWindow() the ink control, setting the parent to the dialog's
hwnd.

--
Rob Elmer
Messaging Development
Mobile Devices Product Group
This posting is provided "AS IS" with no warranties, and confers no rights.


"Patrick" <pyhtang1@hgcbroadband.com> wrote in message
news:050501c3c456$1338b1a0$a501280a@phx.gbl...
> hi Rob,
>
> Thanks for ur reply.
>
> But how can I embed a non-MFC window control(RichInk) into
> a MFC window like CDialog(becoz my application need to do
> so ) ? Is this possible ?
> I had searched many books and articles but still can't
> find method to embed non-MFC window into MFC window.
>
> Patrick
>
>
> >-----Original Message-----
> >It looks like you can just create the ink window as a
> child of the dialog.
> >Alternately, you could add an InkX control to the dialog
> resource.
> >
> >--
> >Rob Elmer
> >Mobile Devices Product Group
> >This posting is provided "AS IS" with no warranties, and
> confers no rights.
> >
> >
> >"Patrick" <pyhtang1@hgcbroadband.com> wrote in message
> >news:1168101c3bf81$4efe2230$a601280a@phx.gbl...
> >> Hi Rob,
> >>
> >> the link of the article is
> >> http://msdn.microsoft.com/library/default.asp?
> >> url=/library/en-us/dnce30/html/richink.asp
> >>
> >> Thanks
> >> Patrick
> >>
> >>
> >> >-----Original Message-----
> >> >If you can provide a link to the article, perhaps
> someone
> >> will be able to
> >> >help you adapt it to a CDialog.
> >> >
> >> >--
> >> >Rob Elmer
> >> >Mobile Devices Product Group
> >> >This posting is provided "AS IS" with no warranties,
> and
> >> confers no rights.
> >> >
> >> >
> >> >"Patrick" <pyhtang1@hgcbroadband.com> wrote in message
> >> >news:0b4301c3bf30$1c31b160$a401280a@phx.gbl...
> >> >> Hi,
> >> >>
> >> >> How can I embed the richink control in the MFC
> CDialog
> >> >> class ? I have found document on how-to in main
> window
> >> but
> >> >> nothing on CDialog. It will be even better if code
> >> samples
> >> >> are available.
> >> >> Thanks for your help.
> >> >
> >> >
> >> >.
> >> >
> >
> >
> >.
> >