Inserting a Bitmap into a RichEditctrl
-
I had this code working in the begining of this year. I a program listing in a rich edit control that I streamed in with SF_TEXT (looked really) nice. I then wanted insert a bullet to indicate a break point something similar to what visual studio does. I had a red bullet and used the Richedit OLE interface along the lines in what is in KB Article Q220844 All of the sudden now its not working the red bullet does even look a bitmap after I do insertobject Could it be to fixes windows have something to do with this I'll end by asking a general question is it possible to insert a bitmap (in may case a red bullet ) in Richedit doc where I streamed in data in SF_TEXT format ?
-
I had this code working in the begining of this year. I a program listing in a rich edit control that I streamed in with SF_TEXT (looked really) nice. I then wanted insert a bullet to indicate a break point something similar to what visual studio does. I had a red bullet and used the Richedit OLE interface along the lines in what is in KB Article Q220844 All of the sudden now its not working the red bullet does even look a bitmap after I do insertobject Could it be to fixes windows have something to do with this I'll end by asking a general question is it possible to insert a bitmap (in may case a red bullet ) in Richedit doc where I streamed in data in SF_TEXT format ?
If a bitmap does not work, could you use an HTML character instead? I'm not sure what format
CRichEditCtrl
uses, but maybe something like: · · · ·"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
If a bitmap does not work, could you use an HTML character instead? I'm not sure what format
CRichEditCtrl
uses, but maybe something like: · · · ·"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
I know I tried streaming in a z/os assembler listing when I look at the project date it was 1/2020 it was under windows 10 I now have a different computer newer version of windows 10 back then inserting the bullet via richeditole->object worked I just would like to ask you a general question if streamin the text with SF_TEXT should I after doing the other api calls be able to do richediole->insertobject I did setsel to where I want to place it and put value in REFORMT structure to use current selection for bitmap should this work if initial text was streamed in with SF_TEXT