Click here to Skip to main content
15,886,919 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Using a webBrowser control to format process feedback. Pin
Luc Pattyn4-Jan-12 7:33
sitebuilderLuc Pattyn4-Jan-12 7:33 
AnswerRe: Using a webBrowser control to format process feedback. Pin
John Schroedl6-Jan-12 4:40
professionalJohn Schroedl6-Jan-12 4:40 
AnswerRe: Using a webBrowser control to format process feedback. Pin
Sam Hobbs13-Feb-12 19:22
Sam Hobbs13-Feb-12 19:22 
QuestionHow to marshal following native C++ objects to C++/CLI? Pin
Alok Jadhav3-Jan-12 19:55
Alok Jadhav3-Jan-12 19:55 
QuestionHow to define the Image in Headerfile like this? VC++2010 Pin
Paramu197330-Dec-11 23:28
Paramu197330-Dec-11 23:28 
AnswerRe: How to define the Image in Headerfile like this? VC++2010 Pin
Richard MacCutchan31-Dec-11 1:26
mveRichard MacCutchan31-Dec-11 1:26 
GeneralRe: How to define the Image in Headerfile like this? VC++2010 Pin
Paramu197331-Dec-11 1:57
Paramu197331-Dec-11 1:57 
QuestionHow do I create a text box with formatted text? Pin
PapaGeek30-Dec-11 7:58
PapaGeek30-Dec-11 7:58 
I’m creating a window’s form application that will have a series of “do it” buttons and a large scrollable text area for feedback.
The feedback might be something like:

Item 1 completed
Item 2 completed
Warning: I had problems
Item 3 completed
Error: That was a serious problem
Item 4 failed
Item 5 completed


During the feedback I’d want to highlight words like Warning and Error so they pop out.

I tried using a RichTextBox, but it really only allows one selection at a time. I can highlight “Warning” on the fly, but when I try to then highlight “error” I change the selected area and “Warning” goes back to standard text.

My thought was to create a WebBrowser object instead of a RichTextBox object, then format it with HTML. But I can’t seem to find the right syntax to create the browser object, not give it a URL, then be able to build the HTML code on the fly from within my program.

Anyone know of the proper way to create a scrollable text box where I can format the text on the fly as my process runs?
AnswerRe: How do I create a text box with formatted text? Pin
Luc Pattyn30-Dec-11 9:36
sitebuilderLuc Pattyn30-Dec-11 9:36 
GeneralRe: How do I create a text box with formatted text? Pin
PapaGeek30-Dec-11 9:58
PapaGeek30-Dec-11 9:58 
AnswerRe: How do I create a text box with formatted text? Pin
Luc Pattyn30-Dec-11 10:38
sitebuilderLuc Pattyn30-Dec-11 10:38 
AnswerRe: How do I create a text box with formatted text? Pin
Sam Hobbs13-Feb-12 19:32
Sam Hobbs13-Feb-12 19:32 
QuestionHow to have the Modules like VB.Net to use Public variables & Functions in VC++2010? Pin
Paramu197328-Dec-11 21:06
Paramu197328-Dec-11 21:06 
AnswerRe: How to have the Modules like VB.Net to use Public variables & Functions in VC++2010? Pin
Richard MacCutchan28-Dec-11 21:42
mveRichard MacCutchan28-Dec-11 21:42 
GeneralRe: How to have the Modules like VB.Net to use Public variables & Functions in VC++2010? Pin
Paramu197328-Dec-11 22:40
Paramu197328-Dec-11 22:40 
QuestionHow to have a Excel Cell Value vc++2010? Pin
Paramu197325-Dec-11 4:55
Paramu197325-Dec-11 4:55 
AnswerRe: How to have a Excel Cell Value vc++2010? Pin
Paramu197325-Dec-11 20:32
Paramu197325-Dec-11 20:32 
QuestionHow to add reference for Microsoft.Office.Interop.Excel in Visual C++2010 ? Pin
Paramu197324-Dec-11 4:33
Paramu197324-Dec-11 4:33 
AnswerRe: How to add reference for Microsoft.Office.Interop.Excel in Visual C++2010 ? Pin
Richard MacCutchan24-Dec-11 6:18
mveRichard MacCutchan24-Dec-11 6:18 
QuestionCutePDF writer generates PS not PDF Pin
susan1246821-Dec-11 12:33
susan1246821-Dec-11 12:33 
AnswerRe: CutePDF writer generates PS not PDF Pin
Richard MacCutchan21-Dec-11 22:13
mveRichard MacCutchan21-Dec-11 22:13 
Questionmixed types are not supported Pin
transoft26-Nov-11 5:34
transoft26-Nov-11 5:34 
AnswerRe: mixed types are not supported Pin
Mark Salsbery26-Nov-11 6:30
Mark Salsbery26-Nov-11 6:30 
GeneralRe: mixed types are not supported Pin
transoft26-Nov-11 7:23
transoft26-Nov-11 7:23 
GeneralRe: mixed types are not supported Pin
Mark Salsbery26-Nov-11 8:15
Mark Salsbery26-Nov-11 8:15 

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.