Displaying rich text in a listbox (in 1.1)



I have a project that unfortunately has some annoying constraint of "make
sure this runs on a bunch of laptops where the users don't bother updating
their machines", so I'm stuck with .Net 1.1 WinForms (which I'm pretty
unfamiliar with because I quit using WF as soon as there was a choice
between WF 2.0 and WPF). I have items in a listbox that can be edited via
rich text, but when they display, the text gets displayed (in the listbox)
as plain, unescaped text (carriage returns show up as ASCII squares). I'm
trying to override the drawing (via DrawItem), but the only way I see to
render in RTF is to go through each character in the rich string & repaint
it in the listbox...character by character. Is there some way to just
create an RTF control and dump its graphics into the DrawItem event's
Graphics? All I can see are atomic drawing operations, but I basically need
a bitblt of an entire control


.



Relevant Pages

  • Re: Super Mario on the C64
    ... Now let's discuss scrolling. ... The C64 and NES both use character graphics, ...
    (comp.sys.cbm)
  • Re: Animating monster moves?
    ... I prefer character displays and target ssh, ... My advice is most ... than with graphics per se. ... Windows, included for back compatibility. ...
    (rec.games.roguelike.development)
  • Re: Permadeath and savescumming
    ... enerate character ... Tile graphics. ... Swords did good damage (long swords ... did more damage than any other melee weapon full stop), ...
    (rec.games.roguelike.development)
  • TOC: The Graphics Book for the Commodore 64
    ... Sprite definition pointers ... Multi-color sprites ... Character representation ... Moving the graphics storage ...
    (comp.sys.cbm)
  • Re: VPLUS and dynamically displaying graphics characters
    ... It is not really graphics, just alternate character. ... the screen image in the forms file. ... * To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)