Valhalla Legends Archive

Programming => General Programming => Topic started by: Ickypoopy on January 19, 2003, 08:08 PM

Title: Richedit
Post by: Ickypoopy on January 19, 2003, 08:08 PM
I am having trouble locating good information on Richedit controls in C/C++.

I was wondering if someone could help me with making a STREAMIN function, and callback to go along with.  Very basic functions if possible.  Thanks :)
Title: Re: Richedit
Post by: Ickypoopy on January 26, 2003, 05:31 PM
...
Im starting to think no one knows...
Title: Re: Richedit
Post by: Grok on January 27, 2003, 07:37 AM
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcresed/html/vctbswhenitriedtousetheoriginalrichedit10controlwithmfcitwouldntwork.asp
Title: Re: Richedit
Post by: Ickypoopy on January 27, 2003, 01:07 PM
I am not using MFC...

Infact, I dont even know what it is :(
Title: Re: Richedit
Post by: Etheran on January 27, 2003, 04:07 PM
it's best not to know what mfc is :)
Title: Re: Richedit
Post by: WolfSage on January 27, 2003, 05:00 PM
Lol. Amen Eth. But even so, MSDN is the way to go. Search MSDN RichEdit and I'm sure you'll find what you are looking for. (I'd do it for you, but I'm to lazy :/)
Title: Re: Richedit
Post by: Ickypoopy on January 27, 2003, 06:13 PM
QuoteLol. Amen Eth. But even so, MSDN is the way to go. Search MSDN RichEdit and I'm sure you'll find what you are looking for. (I'd do it for you, but I'm to lazy :/)
Ive been trying to do this for more than two weeks...  Dont you think I checked there?  That was the first place I checked actually...  Thats where I got almost all of the info I currently have, but I still cannot put text into it.

The only way I have to put text into it is to use SetWindowText, but thats not what I am trying to do...
Title: Re: Richedit
Post by: Laz on January 28, 2003, 03:10 AM
Look up EM_REPLACESEL
Title: Re: Richedit
Post by: Ickypoopy on January 28, 2003, 02:56 PM
Thanx :D
Title: Re: Richedit
Post by: n00blar on January 30, 2003, 02:32 AM
The EM_STREAMIN message replaces the contents of a rich edit control with a stream of data provided by an application defined–EditStreamCallback callback function