Click here to Skip to main content
15,893,368 members
Home / Discussions / C#
   

C#

 
GeneralRe: Protect C# Source Code Pin
Nick Seng23-Dec-03 14:35
Nick Seng23-Dec-03 14:35 
GeneralFile masks Pin
Guinness4Strength23-Dec-03 3:38
Guinness4Strength23-Dec-03 3:38 
GeneralRe: File masks Pin
Heath Stewart23-Dec-03 5:00
protectorHeath Stewart23-Dec-03 5:00 
GeneralRe: File masks Pin
Guinness4Strength24-Dec-03 3:41
Guinness4Strength24-Dec-03 3:41 
GeneralRe: File masks Pin
Broken God25-Dec-03 8:40
Broken God25-Dec-03 8:40 
Generalchange tab control bg color Pin
hazzem elrefai23-Dec-03 2:42
hazzem elrefai23-Dec-03 2:42 
GeneralRe: change tab control bg color Pin
Heath Stewart23-Dec-03 3:18
protectorHeath Stewart23-Dec-03 3:18 
GeneralRe: change tab control bg color Pin
Heath Stewart23-Dec-03 3:26
protectorHeath Stewart23-Dec-03 3:26 
You can set the TabControl.DrawMode to TabDrawMode.OwnerDrawFixed and 1) handle the TabControl.DrawItem event if handling the painting from another control, or 2) override the TabControl.OnDrawItem if extending the TabControl with your own class (faster than handling the event inside a derivitive class).

[EDIT]
Note: this is only for the TabPages. See the previous message about the TabControl itself.
[/EDIT]

 

-----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-----
GeneralIE Toolbar (Band) Pin
Morten Kristensen23-Dec-03 1:32
Morten Kristensen23-Dec-03 1:32 
GeneralRe: IE Toolbar (Band) Pin
Heath Stewart23-Dec-03 3:13
protectorHeath Stewart23-Dec-03 3:13 
GeneralRe: IE Toolbar (Band) Pin
Morten Kristensen23-Dec-03 3:38
Morten Kristensen23-Dec-03 3:38 
GeneralRe: IE Toolbar (Band) Pin
Heath Stewart23-Dec-03 4:02
protectorHeath Stewart23-Dec-03 4:02 
GeneralRe: IE Toolbar (Band) Pin
Morten Kristensen23-Dec-03 4:21
Morten Kristensen23-Dec-03 4:21 
GeneralDocument/view model in C#.. Pin
hammackj22-Dec-03 15:20
hammackj22-Dec-03 15:20 
GeneralRe: Document/view model in C#.. Pin
Heath Stewart23-Dec-03 3:08
protectorHeath Stewart23-Dec-03 3:08 
QuestionHow to program ActiveX control in .NET Pin
young_nacs22-Dec-03 14:11
young_nacs22-Dec-03 14:11 
AnswerRe: How to program ActiveX control in .NET Pin
Heath Stewart23-Dec-03 3:02
protectorHeath Stewart23-Dec-03 3:02 
Generalemulate console mode. Pin
Ray Gregory22-Dec-03 12:13
Ray Gregory22-Dec-03 12:13 
GeneralRe: emulate console mode. Pin
Heath Stewart23-Dec-03 2:54
protectorHeath Stewart23-Dec-03 2:54 
QuestionHow to know at any time the Shift or Control key up or down Pin
god4k22-Dec-03 11:49
god4k22-Dec-03 11:49 
AnswerRe: How to know at any time the Shift or Control key up or down Pin
Heath Stewart22-Dec-03 11:56
protectorHeath Stewart22-Dec-03 11:56 
QuestionHow to format an integer into a string? Pin
Larry Antram22-Dec-03 11:37
Larry Antram22-Dec-03 11:37 
AnswerRe: How to format an integer into a string? Pin
Heath Stewart22-Dec-03 11:52
protectorHeath Stewart22-Dec-03 11:52 
GeneralRe: How to format an integer into a string? Pin
Larry Antram22-Dec-03 11:55
Larry Antram22-Dec-03 11:55 
GeneralRe: How to format an integer into a string? Pin
Heath Stewart22-Dec-03 12:01
protectorHeath Stewart22-Dec-03 12: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.