Click here to Skip to main content
15,896,118 members
Home / Discussions / C#
   

C#

 
QuestionHi, i need help in creating video player for windows mobile..... Pin
Petar Efnushev21-Apr-10 15:45
Petar Efnushev21-Apr-10 15:45 
AnswerRe: Hi, i need help in creating video player for windows mobile..... Pin
Not Active21-Apr-10 16:43
mentorNot Active21-Apr-10 16:43 
QuestionColoring string when painting text Pin
Chris Copeland21-Apr-10 15:38
mveChris Copeland21-Apr-10 15:38 
Hey guys,

I'm trying to create a control which simply colors certain words in a string, when printed onto a control.

For example:

"This is a test statement to test the highlighting's ability to test."

In this statement, when printed on a control, I need all the words "test" being highlighted in say, blue, while the rest of the string remains the regular color. I've been trying to figure out an effective way of doing this for a long time. I have a graphics buffer, double buffering and some intensive graphic's performance boosting codes in place, but i'm trying not to implement nests of loops just to highlight words.

Can anyone point me in the right direction with this? I've been using Regex to find patterns (replacing 'test' with '\C[0,0,255]test') and then converting the '\C[x,y,z]' into a color and looping through word by word, and nesting inside letter by letter, but this is too intensive and simply won't work.

Thanks Smile | :)
AnswerRe: Coloring string when painting text Pin
Luc Pattyn21-Apr-10 15:54
sitebuilderLuc Pattyn21-Apr-10 15:54 
GeneralRe: Coloring string when painting text Pin
Chris Copeland21-Apr-10 16:02
mveChris Copeland21-Apr-10 16:02 
GeneralRe: Coloring string when painting text Pin
Luc Pattyn21-Apr-10 16:55
sitebuilderLuc Pattyn21-Apr-10 16:55 
QuestionConnecting from Visual Studio 2010 to SQL Server Management Studio Pin
Darrall21-Apr-10 12:56
Darrall21-Apr-10 12:56 
AnswerRe: Connecting from Visual Studio 2010 to SQL Server Management Studio Pin
Not Active21-Apr-10 13:06
mentorNot Active21-Apr-10 13:06 
GeneralRe: Connecting from Visual Studio 2010 to SQL Server Management Studio Pin
Darrall21-Apr-10 13:39
Darrall21-Apr-10 13:39 
GeneralRe: Connecting from Visual Studio 2010 to SQL Server Management Studio Pin
Not Active21-Apr-10 13:45
mentorNot Active21-Apr-10 13:45 
GeneralRe: Connecting from Visual Studio 2010 to SQL Server Management Studio Pin
PIEBALDconsult21-Apr-10 14:40
mvePIEBALDconsult21-Apr-10 14:40 
GeneralRe: Connecting from Visual Studio 2010 to SQL Server Management Studio Pin
Dave Kreskowiak21-Apr-10 17:22
mveDave Kreskowiak21-Apr-10 17:22 
GeneralRe: Connecting from Visual Studio 2010 to SQL Server Management Studio Pin
Darrall22-Apr-10 4:46
Darrall22-Apr-10 4:46 
QuestionTrasnfer Data in datagrid in form1 to Text box in form2 Pin
shahramkeyboard21-Apr-10 8:21
shahramkeyboard21-Apr-10 8:21 
AnswerRe: Trasnfer Data in datagrid in form1 to Text box in form2 Pin
OriginalGriff21-Apr-10 8:48
mveOriginalGriff21-Apr-10 8:48 
AnswerRe: Trasnfer Data in datagrid in form1 to Text box in form2 Pin
DaveyM6921-Apr-10 11:01
professionalDaveyM6921-Apr-10 11:01 
Questioncrystal reports Pin
jojoba201121-Apr-10 7:52
jojoba201121-Apr-10 7:52 
QuestionConverting Pixel to twips Pin
jojoba201121-Apr-10 7:01
jojoba201121-Apr-10 7:01 
AnswerRe: Converting Pixel to twips Pin
Henry Minute21-Apr-10 7:17
Henry Minute21-Apr-10 7:17 
GeneralRe: Converting Pixel to twips Pin
Not Active21-Apr-10 13:00
mentorNot Active21-Apr-10 13:00 
GeneralRe: Converting Pixel to twips Pin
Dan Mos21-Apr-10 13:15
Dan Mos21-Apr-10 13:15 
AnswerRe: Converting Pixel to twips Pin
Luc Pattyn21-Apr-10 7:48
sitebuilderLuc Pattyn21-Apr-10 7:48 
QuestionCreating a checklist using checkbox tool in csharp smart device project Pin
Tunisien8621-Apr-10 6:06
Tunisien8621-Apr-10 6:06 
AnswerRe: Creating a checklist using checkbox tool in csharp smart device project Pin
Tarakeshwar Reddy21-Apr-10 9:04
professionalTarakeshwar Reddy21-Apr-10 9:04 
GeneralRe: Creating a checklist using checkbox tool in csharp smart device project Pin
Tunisien8621-Apr-10 22:53
Tunisien8621-Apr-10 22:53 

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.