Home > Back-end > Excuse me useful RXRichEdit?? How to solve the RxRichEdit1 after loading the images. The text only a
Excuse me useful RXRichEdit?? How to solve the RxRichEdit1 after loading the images. The text only a
Time:10-13
I am now in to write a network chat program, to achieve the function of a sending pictures, I use method is to convert image to RTF format characters, Concrete implementation method is Rxrichedit1. Seltext:=bmptortf (BMP); Rxrichedit1. Sellength:=0; Rxrichedit1. Selstart:=rxrichedit1. Selstart + 1; . I found that after a breakpoint tracing rxrichexit1 text or rxrichedit1. Seltext can display the edit box, such as the content of the properties of the load the image () has been loaded successfully, only out of a space,,,,,,, . I want to now is how to make the text more an RTF code (that is, bmptortf () function returns the string value), then send to others, the other side of the rxrichedit control add this code will display Or use other ways to make me to know when to send the rxrichedit what to load the picture above, if because now. The text property only a space more words I am unable to know what the image is what of, Urgent for solution!!!!!!!!!!! I in baidu Google search on it for a long time didn't answer!!!!!! Or is this control can only be like this?? That can recommend other can support by mixed control?? I already gave 100 points!! Solving!!!!!
CodePudding user response:
I use Trichedit tried to insert pictures, add [{/rtf1 {/Pict/dibitmap? string