From: Simon on 25 Sep 2009 02:32 Hi, I am looking for a function that would allow me to output text on the screen with HTML markings. There is a function, (DrawHTML( ...) on codeproject, http://www.codeproject.com/KB/GDI/DrawHTML.aspx) and it does work very well but it has many short falls, (missing a lot of tags, no support for font sizes, H1, H2, DT_CENTER or DT_RIGHT etc...) Of course, I can always add the tags myself and make the changes needed, but I was wondering if there was a similar lightweight function/API that I could use? My target users are Win2000 and later. Many thanks Simon
From: patrick on 25 Sep 2009 04:36 On 25 sep, 08:32, Simon <b...(a)example.com> wrote: > Hi, > > I am looking for a function that would allow me to output text on the > screen with HTML markings. > > There is a function, (DrawHTML( ...) on codeproject, Useless (and bugged..) Simply use the HTML Windows native control.
From: Simon on 25 Sep 2009 04:51 >> I am looking for a function that would allow me to output text on the >> screen with HTML markings. >> >> There is a function, (DrawHTML( ...) on codeproject, > > Useless (and bugged..) It is not that bad, it does do some simple HTML output. > Simply use the HTML Windows native control. What windows native control?? Simon
From: Goran on 25 Sep 2009 05:03 If you don't have any very smart and specific reason against... Nah, just embed IE (e.g. CHtmlView) or some other browser engine. You are trying to make it hard for yourself. Goran.
From: Simon on 25 Sep 2009 05:15 Goran wrote: > If you don't have any very smart and specific reason against... Nah, > just embed IE (e.g. CHtmlView) or some other browser engine. You are > trying to make it hard for yourself. > > Goran. I have nothing against using CHtmlView, but the main, (and only real one), problem is, what if the user does not have IE? I know, I know, those are very few and far between, but still, I would hate to cancel an installation because the user does not have a flavor of IE installed. The other, (albeit smaller), problem is that I use certain base classes like CScrollView and I think I cannot add CHtmlView to those. But I would have to play around to be sure. Simon
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: MFC CHtmlView::GetSource bugs on Connect Next: FTPFindFirstFile unicode |