Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPipe WriteFile Problem Pin
Biswas26-Apr-04 23:01
Biswas26-Apr-04 23:01 
QuestionShellExecute(…) ? Pin
anderslundsgard23-Apr-04 3:37
anderslundsgard23-Apr-04 3:37 
AnswerRe: ShellExecute(…) ? Pin
David Crow23-Apr-04 3:48
David Crow23-Apr-04 3:48 
AnswerRe: ShellExecute(…) ? Pin
Mike Dimmick23-Apr-04 5:56
Mike Dimmick23-Apr-04 5:56 
GeneralProcess Creation Notification Pin
Steve Thresher23-Apr-04 3:32
Steve Thresher23-Apr-04 3:32 
GeneralRe: Process Creation Notification Pin
toxcct23-Apr-04 3:49
toxcct23-Apr-04 3:49 
GeneralRe: Process Creation Notification Pin
_Magnus_23-Apr-04 3:53
_Magnus_23-Apr-04 3:53 
GeneralLightweight HTML rendering Pin
antareus23-Apr-04 2:55
antareus23-Apr-04 2:55 
Hello CodeProjecters,
I am working on a multi-protocol chat client, and very stuck on what to use for HTML rendering. AIM uses HTML in its profiles, but it doesn't support very much of it: text foreground/background colors, font size and face changes, bold, italics, etc. Everything that a RichEdit supports -- except for a horizontal rule! I would like to avoid additional DLLs -- so QHTM/HTMLayout is out of the question. It is ridiculous how heavyweight the WebBrowser control is, too. Does MSHTML load in like 10 DLLs when you use it?

Now, I can write a HTML parser using Boost's Spirit parser framework library, and then apply those styles to the RichEdit control. I have already done this. However, I do not know what to do for the horizontal rule. I tried using a bunch of _'s, but it looked really ugly -- is there something else I could do? Perhaps owner-draw the control? I know demand for something like this control is very high, so I'd be willing to write an article about it. I just need to support HR's somehow.

Thanks.
GeneralRe: Lightweight HTML rendering Pin
Garth J Lancaster23-Apr-04 16:22
professionalGarth J Lancaster23-Apr-04 16:22 
GeneralSend to txctt and mailMonty Pin
ChuThaiDuong23-Apr-04 2:25
ChuThaiDuong23-Apr-04 2:25 
GeneralRe: Send to txctt and mailMonty Pin
jmkhael23-Apr-04 2:27
jmkhael23-Apr-04 2:27 
QuestionHow to write a simple socket application(HELP) Pin
Nodoordonotthereisnotry23-Apr-04 2:24
Nodoordonotthereisnotry23-Apr-04 2:24 
AnswerRe: How to write a simple socket application(HELP) Pin
jmkhael23-Apr-04 2:28
jmkhael23-Apr-04 2:28 
AnswerRe: How to write a simple socket application (long reply) Pin
David Crow23-Apr-04 4:02
David Crow23-Apr-04 4:02 
AnswerRe: How to write a simple socket application(HELP) Pin
Mike Dimmick23-Apr-04 5:59
Mike Dimmick23-Apr-04 5:59 
GeneralRe: How to write a simple socket application(HELP) Pin
Nodoordonotthereisnotry25-Apr-04 20:43
Nodoordonotthereisnotry25-Apr-04 20:43 
Generaldetecting CTRL+C Pin
Anonymous23-Apr-04 1:41
Anonymous23-Apr-04 1:41 
GeneralRe: detecting CTRL+C Pin
Mike Dimmick23-Apr-04 1:47
Mike Dimmick23-Apr-04 1:47 
QuestionHow create a member variable of type (a class) Pin
ChuThaiDuong23-Apr-04 1:36
ChuThaiDuong23-Apr-04 1:36 
AnswerRe: How create a member variable of type (a class) Pin
Monty223-Apr-04 2:02
Monty223-Apr-04 2:02 
AnswerRe: How create a member variable of type (a class) Pin
toxcct23-Apr-04 2:06
toxcct23-Apr-04 2:06 
AnswerRe: How create a member variable of type (a class) Pin
ChuThaiDuong23-Apr-04 2:23
ChuThaiDuong23-Apr-04 2:23 
GeneralRe: How create a member variable of type (a class) Pin
toxcct23-Apr-04 2:35
toxcct23-Apr-04 2:35 
GeneralRe: How create a member variable of type (a class) Pin
toxcct23-Apr-04 2:39
toxcct23-Apr-04 2:39 
GeneralRe: How create a member variable of type (a class) Pin
Alton Williams23-Apr-04 4:39
Alton Williams23-Apr-04 4:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.