mfc >> TOM example

by adriangibbons » Mon, 26 Apr 2004 19:12:09 GMT

has anyone got any good examples of the Text Object Model? I'm using
it with Rich Edit 2.0.

in particular using:

ITextRange->GetText()
ITextRange->SetText()

i've got the reference material from MSDN but could do with some
examples of how to use these with CStrings especially.

Similar Threads

1. tom.ITextRange Find Regular Expression does not seem to work - CSharp/C#

2. I need file 'tom.h'

In the Platform SDK: Windows User Interface, the documentation on ITextDocument, says this is delcared in tom.h
I dan't have that file. Can anyone send it to me

(seems better than dowloading the SP5 of 58MB and still not knowing if it is in there

Thanks
Paul Ogilvi
 XXXX@XXXXX.COM 

3. Congratulations Tom. - Microsoft Visual C++/VC++

4. Tom, are you on a MicroSoft L.A.N. ?

Are you on a MicroSoft L.A.N. Tom ?
Your IP address is " _Local_Host.Phx.GBL "
and yer Mesage-ID's indicate MicroSoft.COM ( Phx.GBL is the default ).

If you're with M.S., what do you do for them ?

5. Tom, what are you doing different ? - Microsoft Visual C++/VC++

6. Tom, what server are you posting to ?

What server are you ( Tom ) posting to ?
It's not " News.MicroSoft.COM:119 ", I'm sure.

7. Can someone email me tom.h

8. Getting RichEdit's TOM/ITextDocument by its Window Handle?