Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
AnswerRe: Start Calculator and active it again? Pin
Kannan Kalyanaraman20-Jan-04 20:05
Kannan Kalyanaraman20-Jan-04 20:05 
GeneralToolbar button images disappear at runtime Pin
Jason Liu20-Jan-04 13:34
Jason Liu20-Jan-04 13:34 
GeneralRe: Toolbar button images disappear at runtime Pin
Anders Molin20-Jan-04 15:20
professionalAnders Molin20-Jan-04 15:20 
GeneralRe: Toolbar button images disappear at runtime Pin
Jason Liu20-Jan-04 15:51
Jason Liu20-Jan-04 15:51 
GeneralRe: Toolbar button images disappear at runtime Pin
Anders Molin20-Jan-04 15:54
professionalAnders Molin20-Jan-04 15:54 
GeneralRe: Toolbar button images disappear at runtime Pin
Jason Liu20-Jan-04 21:55
Jason Liu20-Jan-04 21:55 
QuestionHow to insert a tab into the label text? Pin
Jason Liu20-Jan-04 13:30
Jason Liu20-Jan-04 13:30 
AnswerRe: How to insert a tab into the label text? Pin
Heath Stewart21-Jan-04 4:45
protectorHeath Stewart21-Jan-04 4:45 
Assigning a string to Label.Text (which inherits form Control.Text) internally calls the SetWindowText native function (most controls encapsulate common controls and Windows Management APIs). SetWindowText does not expand tab characters.

To get this effect, you might consider extending Label and overriding the OnPaint protected method (when extending, override the methods that raise the corresponding events instead of handling the events - it's faster and gives you more control (like deciding whether or not to call base.OnEventName)).

 

-----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-----
GeneralWeird Prob with input keys and toolbar Pin
cgcrute20-Jan-04 12:26
cgcrute20-Jan-04 12:26 
GeneralRe: Weird Prob with input keys and toolbar Pin
Heath Stewart21-Jan-04 4:37
protectorHeath Stewart21-Jan-04 4:37 
GeneralRe: Weird Prob with input keys and toolbar Pin
cgcrute21-Jan-04 4:50
cgcrute21-Jan-04 4:50 
Generalprinter Handshake Pin
Ankwa20-Jan-04 11:46
Ankwa20-Jan-04 11:46 
GeneralRe: printer Handshake Pin
Tom Larsen21-Jan-04 4:56
Tom Larsen21-Jan-04 4:56 
GeneralRe: printer Handshake Pin
Ankwa21-Jan-04 21:16
Ankwa21-Jan-04 21:16 
GeneralSecurity exception running from network Pin
cje20-Jan-04 11:19
cje20-Jan-04 11:19 
GeneralRe: Security exception running from network Pin
scadaguy20-Jan-04 11:34
scadaguy20-Jan-04 11:34 
GeneralRe: Security exception running from network Pin
cje20-Jan-04 11:42
cje20-Jan-04 11:42 
GeneralRe: Security exception running from network Pin
Heath Stewart20-Jan-04 14:58
protectorHeath Stewart20-Jan-04 14:58 
GeneralImage Rotation with GDI Pin
MrEyes20-Jan-04 9:29
MrEyes20-Jan-04 9:29 
GeneralRe: Image Rotation with GDI Pin
Mazdak20-Jan-04 9:45
Mazdak20-Jan-04 9:45 
GeneralRe: Image Rotation with GDI Pin
MrEyes21-Jan-04 6:07
MrEyes21-Jan-04 6:07 
GeneralXML Pin
Gary Kirkham20-Jan-04 8:16
Gary Kirkham20-Jan-04 8:16 
GeneralRe: XML Pin
Heath Stewart20-Jan-04 8:34
protectorHeath Stewart20-Jan-04 8:34 
GeneralRe: XML Pin
Gary Kirkham20-Jan-04 8:56
Gary Kirkham20-Jan-04 8:56 
GeneralPopUp Menu Pin
Inam20-Jan-04 7:33
Inam20-Jan-04 7:33 

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.