Click here to Skip to main content
16,007,443 members
Home / Discussions / C#
   

C#

 
GeneralRe: Obtain own ip address using c# when connect to the internet via dialup modem Pin
Dave Kreskowiak28-Jun-05 15:34
mveDave Kreskowiak28-Jun-05 15:34 
GeneralSend Data From Oracle DB to MSSQL at RunTime Pin
agmb28-Jun-05 4:13
agmb28-Jun-05 4:13 
GeneralRich text background colour/selection Pin
IJay28-Jun-05 3:58
IJay28-Jun-05 3:58 
GeneralRe: Rich text background colour/selection Pin
Dave Kreskowiak28-Jun-05 4:48
mveDave Kreskowiak28-Jun-05 4:48 
GeneralRe: Rich text background colour/selection Pin
IJay28-Jun-05 5:19
IJay28-Jun-05 5:19 
GeneralRe: Rich text background colour/selection Pin
Dave Kreskowiak28-Jun-05 5:41
mveDave Kreskowiak28-Jun-05 5:41 
GeneralRe: Rich text background colour/selection Pin
IJay28-Jun-05 5:49
IJay28-Jun-05 5:49 
GeneralRe: Rich text background colour/selection Pin
mav.northwind28-Jun-05 6:05
mav.northwind28-Jun-05 6:05 
The RichTextBox doesn't provide methods to set the text background color by default, although the underlying RichEdit control can do this.
You can, however, create the neccessary methods fairly easily using P/invoke.

Take a look at this article[^], towards the end you'll see how you can set only selected font properties for selected text (something the standard RTB cannot do as well). Along the same lines you can add a SetSelectionBackColor() to highlight the line.

Regards,
mav
GeneralRe: Rich text background colour/selection Pin
IJay29-Jun-05 5:41
IJay29-Jun-05 5:41 
GeneralRe: Rich text background colour/selection Pin
mav.northwind29-Jun-05 19:57
mav.northwind29-Jun-05 19:57 
GeneralRe: Rich text background colour/selection Pin
IJay29-Jun-05 22:18
IJay29-Jun-05 22:18 
GeneralRe: Rich text background colour/selection Pin
IJay29-Jun-05 23:43
IJay29-Jun-05 23:43 
GeneralMy TcpListener doesn't works Pin
Alex Cutovoi28-Jun-05 3:27
Alex Cutovoi28-Jun-05 3:27 
GeneralRe: My TcpListener doesn't works Pin
User 665828-Jun-05 5:30
User 665828-Jun-05 5:30 
GeneralDate Insertion in mySQL Database Pin
Jassim Rahma28-Jun-05 2:56
Jassim Rahma28-Jun-05 2:56 
GeneralRe: Date Insertion in mySQL Database Pin
Colin Angus Mackay28-Jun-05 3:53
Colin Angus Mackay28-Jun-05 3:53 
GeneralRe: Date Insertion in mySQL Database Pin
metalsandman28-Jun-05 4:03
metalsandman28-Jun-05 4:03 
GeneralRe: Date Insertion in mySQL Database Pin
Colin Angus Mackay28-Jun-05 4:52
Colin Angus Mackay28-Jun-05 4:52 
General,Date Insertion in mySQL Database Pin
Jassim Rahma28-Jun-05 2:52
Jassim Rahma28-Jun-05 2:52 
GeneralRe: ,Date Insertion in mySQL Database Pin
Colin Angus Mackay28-Jun-05 3:46
Colin Angus Mackay28-Jun-05 3:46 
GeneralRe: ,Date Insertion in mySQL Database Pin
Dave Kreskowiak28-Jun-05 4:38
mveDave Kreskowiak28-Jun-05 4:38 
Questionhow to create a file as hidden? Pin
Green Fuze28-Jun-05 0:58
Green Fuze28-Jun-05 0:58 
AnswerRe: how to create a file as hidden? Pin
Hesham Amin28-Jun-05 1:52
Hesham Amin28-Jun-05 1:52 
GeneralRe: how to create a file as hidden? Pin
Green Fuze28-Jun-05 3:58
Green Fuze28-Jun-05 3:58 
GeneralGenerate an Image using ByteCode/HexaView Pin
MDKrishan27-Jun-05 21:29
MDKrishan27-Jun-05 21:29 

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.