Click here to Skip to main content
15,922,155 members
Home / Discussions / C#
   

C#

 
GeneralRe: Registry and dWord values Pin
Paul Riley3-Mar-03 8:31
Paul Riley3-Mar-03 8:31 
GeneralRe: Registry and dWord values Pin
codeweenie3-Mar-03 9:46
codeweenie3-Mar-03 9:46 
GeneralRe: Registry and dWord values Pin
Paul Riley3-Mar-03 11:56
Paul Riley3-Mar-03 11:56 
GeneralRe: Registry and dWord values Pin
leppie3-Mar-03 9:05
leppie3-Mar-03 9:05 
GeneralRe: Registry and dWord values Pin
codeweenie3-Mar-03 9:53
codeweenie3-Mar-03 9:53 
GeneralHelp! Release the COM Pointer Pin
sning3-Mar-03 7:25
sning3-Mar-03 7:25 
GeneralRe: Help! Release the COM Pointer Pin
Jarrod Marshall3-Mar-03 8:11
Jarrod Marshall3-Mar-03 8:11 
GeneralRe: Help! Release the COM Pointer Pin
Stephane Rodriguez.3-Mar-03 8:16
Stephane Rodriguez.3-Mar-03 8:16 
Generalembedding HTML and trapping events.... Pin
LongRange.Shooter3-Mar-03 5:51
LongRange.Shooter3-Mar-03 5:51 
GeneralRe: embedding HTML and trapping events.... Pin
Michael Mac4-Mar-03 9:05
Michael Mac4-Mar-03 9:05 
GeneralThreads and multiple http connections Pin
PeterJensen3-Mar-03 5:05
PeterJensen3-Mar-03 5:05 
GeneralRe: Threads and multiple http connections Pin
leppie3-Mar-03 6:33
leppie3-Mar-03 6:33 
GeneralRe: Threads and multiple http connections Pin
PeterJensen3-Mar-03 7:26
PeterJensen3-Mar-03 7:26 
GeneralRe: Threads and multiple http connections Pin
grv5754-Mar-03 15:05
grv5754-Mar-03 15:05 
Generaltype conversion Pin
egon3-Mar-03 3:01
egon3-Mar-03 3:01 
GeneralRe: type conversion Pin
leppie3-Mar-03 6:56
leppie3-Mar-03 6:56 
GeneralRe: type conversion Pin
egon3-Mar-03 8:00
egon3-Mar-03 8:00 
QuestionDraw a rectangle in a richtextbox? Pin
red2k3-Mar-03 2:25
red2k3-Mar-03 2:25 
AnswerRe: Draw a rectangle in a richtextbox? Pin
jtmtv183-Mar-03 6:39
jtmtv183-Mar-03 6:39 
System.Drawing.Rectangle
Exsample : System.Drawing.Rectangle jr = new System.Drawing.Rectangle(10,10,100,100);

System.Drawing.Rectangle jr = new System.Drawing.Rectangle(int X,int Y,int Width,int Height);

this code (below) might work...but i just through it together... where to see the code jr.Size it is actually suposed to be the bounds...but it might work anyway.
System.Drawing.Rectangle jr = new System.Drawing.Rectangle(10,10,100,100);<br />
System.Drawing.Graphics.FillRectangle(new SolidBrush(Color.Red),jr.Size/*suposed to be bounds*/);


Jesse M

P.s : if you are making a drawing program (which it seems like you might be) check to see if the RichTextBox class has a OwnerDraw property. this would give you OnDraw Events that you could override.

The Code Project Is Your Friend...
Questionvoid* interop? Pin
Anonymous2-Mar-03 19:55
Anonymous2-Mar-03 19:55 
AnswerRe: void* interop? Pin
Jeff J2-Mar-03 21:16
Jeff J2-Mar-03 21:16 
GeneralRe: void* interop? Pin
Anonymous3-Mar-03 2:04
Anonymous3-Mar-03 2:04 
GeneralRe: void* interop? Pin
leppie3-Mar-03 7:06
leppie3-Mar-03 7:06 
GeneralRe: void* interop? Pin
Jeff J4-Mar-03 14:36
Jeff J4-Mar-03 14:36 
GeneralInterop - Marshaling nested structs Pin
Nathan Tran2-Mar-03 19:01
Nathan Tran2-Mar-03 19:01 

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.