Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
QuestionProject Resource Pin
mihksoft15-Oct-07 8:00
mihksoft15-Oct-07 8:00 
AnswerRe: Project Resource Pin
Justin Perez15-Oct-07 8:26
Justin Perez15-Oct-07 8:26 
GeneralRe: Project Resource Pin
mihksoft15-Oct-07 8:31
mihksoft15-Oct-07 8:31 
GeneralRe: Project Resource [modified] Pin
Kristian Sixhøj15-Oct-07 9:19
Kristian Sixhøj15-Oct-07 9:19 
QuestionConfiguration settings - Howto? [modified] Pin
Phrone15-Oct-07 7:01
Phrone15-Oct-07 7:01 
AnswerRe: Configuration settings - Howto? Pin
Skippums15-Oct-07 7:16
Skippums15-Oct-07 7:16 
AnswerRe: Configuration settings - Howto? Pin
Justin Perez15-Oct-07 7:30
Justin Perez15-Oct-07 7:30 
QuestionRichTextBox.SelectionBackColor property Pin
Skippums15-Oct-07 6:55
Skippums15-Oct-07 6:55 
I am attempting to make a new RichTextBox class (called RTBE) which inherits from RichTextBox. One of the things I want to implement is selection graying, so setting the HideSelection property to false makes selections get a gray BackColor on loss of focus. Because I have to restore the original BackColor in the text, I am wondering if there is a faster way to get/set the SelectionBackColor property so I don't have to go through each character in the selection and obtain the color for that character (through the GUI) using RTB.Select(start, 1) followed by calling RTB.SelectionBackColor. Basically, I am hoping there is a Win API call that can get the backcolor of the text in a RTB without changing the selection. Anyone have some insight? Thanks,

Jeff
AnswerRe: RichTextBox.SelectionBackColor property Pin
mav.northwind15-Oct-07 19:23
mav.northwind15-Oct-07 19:23 
GeneralRe: RichTextBox.SelectionBackColor property Pin
Skippums16-Oct-07 4:18
Skippums16-Oct-07 4:18 
QuestionCatch C++ exception in C# Pin
Not Knuth15-Oct-07 6:35
Not Knuth15-Oct-07 6:35 
AnswerRe: Catch C++ exception in C# Pin
led mike15-Oct-07 6:52
led mike15-Oct-07 6:52 
GeneralRe: Catch C++ exception in C# Pin
Not Knuth15-Oct-07 7:22
Not Knuth15-Oct-07 7:22 
GeneralRe: Catch C++ exception in C# Pin
led mike15-Oct-07 7:45
led mike15-Oct-07 7:45 
GeneralRe: Catch C++ exception in C# Pin
Not Knuth15-Oct-07 8:00
Not Knuth15-Oct-07 8:00 
GeneralRe: Catch C++ exception in C# Pin
led mike15-Oct-07 8:05
led mike15-Oct-07 8:05 
GeneralRe: Catch C++ exception in C# Pin
Not Knuth15-Oct-07 8:15
Not Knuth15-Oct-07 8:15 
AnswerRe: Catch C++ exception in C# Pin
Liam O'Hagan15-Oct-07 20:57
Liam O'Hagan15-Oct-07 20:57 
GeneralRe: Catch C++ exception in C# Pin
Not Knuth16-Oct-07 5:26
Not Knuth16-Oct-07 5:26 
AnswerRe: Catch C++ exception in C# Pin
Marshall16-Oct-07 6:11
Marshall16-Oct-07 6:11 
GeneralRe: Catch C++ exception in C# Pin
Not Knuth16-Oct-07 7:47
Not Knuth16-Oct-07 7:47 
QuestionPrevent Monitor Standby and ScreenSaver Activation Pin
Sukhjinder_K15-Oct-07 6:05
Sukhjinder_K15-Oct-07 6:05 
AnswerRe: Prevent Monitor Standby and ScreenSaver Activation Pin
led mike15-Oct-07 6:42
led mike15-Oct-07 6:42 
GeneralSome code which can do the trick Pin
Sukhjinder_K15-Oct-07 6:58
Sukhjinder_K15-Oct-07 6:58 
GeneralRe: Some code which can do the trick Pin
Skippums15-Oct-07 7:30
Skippums15-Oct-07 7:30 

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.