Click here to Skip to main content
15,920,005 members
Home / Discussions / C#
   

C#

 
GeneralDebugging Pin
jyoti doiphode13-Jan-04 23:58
jyoti doiphode13-Jan-04 23:58 
GeneralRe: Debugging Pin
Heath Stewart14-Jan-04 4:41
protectorHeath Stewart14-Jan-04 4:41 
GeneralFinding names of local user accounts Pin
EnkelIk13-Jan-04 23:46
EnkelIk13-Jan-04 23:46 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 2:51
Mazdak14-Jan-04 2:51 
GeneralRe: Finding names of local user accounts Pin
EnkelIk14-Jan-04 4:54
EnkelIk14-Jan-04 4:54 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 8:20
Mazdak14-Jan-04 8:20 
GeneralReversible Frames on Windows Forms Pin
occcy13-Jan-04 22:22
occcy13-Jan-04 22:22 
GeneralRe: Reversible Frames on Windows Forms Pin
Heath Stewart14-Jan-04 4:14
protectorHeath Stewart14-Jan-04 4:14 
If you need a focus rectangle, why not use ControlPaint.DrawFocusRectangle? You can specify both the foreground and background colors. If you need to invert the colors, you can create a new Color by XOR'ing each of the R, G, and B components with 0 or 0xfff.

If you want to draw a rectangle around the bounds of the control itself use the Control.Bounds property for the rectangle param of the DrawFocusRectangle method.

If neither of these approaches is quite what you want, you can draw dotted lines by using a custom Pen with the Pen.DashStyle property set in calls to Graphics.DrawLine or Graphics.DrawRectangle and similar methods.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
QuestionHow use Ms treeView In asp.net Pin
Old Gun13-Jan-04 22:03
Old Gun13-Jan-04 22:03 
AnswerRe: How use Ms treeView In asp.net Pin
Heath Stewart14-Jan-04 4:04
protectorHeath Stewart14-Jan-04 4:04 
GeneralRe: How use Ms treeView In asp.net Pin
Not Active14-Jan-04 7:02
mentorNot Active14-Jan-04 7:02 
Generalsharing internet offline files Pin
Mohamad Al Husseiny13-Jan-04 18:18
Mohamad Al Husseiny13-Jan-04 18:18 
GeneralRe: sharing internet offline files Pin
Heath Stewart14-Jan-04 4:02
protectorHeath Stewart14-Jan-04 4:02 
GeneralRe: sharing internet offline files Pin
Mohamad Al Husseiny14-Jan-04 19:20
Mohamad Al Husseiny14-Jan-04 19:20 
GeneralGraph classes for C# Pin
crushinghellhammer13-Jan-04 13:50
crushinghellhammer13-Jan-04 13:50 
GeneralRe: Graph classes for C# Pin
scadaguy14-Jan-04 2:42
scadaguy14-Jan-04 2:42 
GeneralRe: Graph classes for C# Pin
Giles14-Jan-04 11:17
Giles14-Jan-04 11:17 
GeneralMarshalling from C# string directly to an MFC CString Pin
jerrycainjr13-Jan-04 13:14
jerrycainjr13-Jan-04 13:14 
GeneralRe: Marshalling from C# string directly to an MFC CString Pin
Heath Stewart14-Jan-04 3:43
protectorHeath Stewart14-Jan-04 3:43 
GeneralAnimating True Type Fonts Pin
mrhicks13-Jan-04 12:01
mrhicks13-Jan-04 12:01 
GeneralRe: Animating True Type Fonts Pin
Heath Stewart13-Jan-04 13:00
protectorHeath Stewart13-Jan-04 13:00 
GeneralRe: Animating True Type Fonts Pin
leppie13-Jan-04 13:45
leppie13-Jan-04 13:45 
GeneralGDI+ missing functionality in PocketPC Pin
Gizz13-Jan-04 7:52
Gizz13-Jan-04 7:52 
GeneralRe: GDI+ missing functionality in PocketPC Pin
Heath Stewart13-Jan-04 8:21
protectorHeath Stewart13-Jan-04 8:21 
GeneralRe: GDI+ missing functionality in PocketPC Pin
leppie13-Jan-04 13:54
leppie13-Jan-04 13:54 

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.