Lord Orwell
Mar 2nd, 2001, 01:25 AM
Ok say i have a window open. On that window is a control based on the richedit control-i.e., it supports multiple fonts, colors, etc. for the text on it at the same time. How could i retrieve the information of the text formatting? Being able to retrieve it for one character or the entire document at once are both techniques i am willing to investigate.
And now that we have retrieved the information, could we find a specific character in that open window and change its formatting? One practical use of this would be to parse an aol chatroom for the wingdings font and convert them to arial in the chat window. I could come up with others. (note: i already have a method of removing ALL formatting in the chat room, but i have other reasons for wanting to read document formatting data. Perhaps access to the richtext information?
And now that we have retrieved the information, could we find a specific character in that open window and change its formatting? One practical use of this would be to parse an aol chatroom for the wingdings font and convert them to arial in the chat window. I could come up with others. (note: i already have a method of removing ALL formatting in the chat room, but i have other reasons for wanting to read document formatting data. Perhaps access to the richtext information?