Click here to Skip to main content
15,887,746 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: question about static Type.GetType(string) Pin
Robert Rohde28-Dec-04 23:42
Robert Rohde28-Dec-04 23:42 
GeneralRe: question about static Type.GetType(string) Pin
Member 103504429-Dec-04 6:41
Member 103504429-Dec-04 6:41 
GeneralJit Debugger Pin
Anu_K28-Dec-04 10:08
Anu_K28-Dec-04 10:08 
GeneralProblem Related to Delegates Serialization & Remoting Pin
Identity Undisclosed27-Dec-04 21:03
Identity Undisclosed27-Dec-04 21:03 
GeneralRe: Problem Related to Delegates Serialization & Remoting Pin
Robert Rohde28-Dec-04 23:29
Robert Rohde28-Dec-04 23:29 
GeneralRe: Problem Related to Delegates Serialization & Remoting Pin
Identity Undisclosed29-Dec-04 0:29
Identity Undisclosed29-Dec-04 0:29 
GeneralRe: Problem Related to Delegates Serialization & Remoting Pin
Adam Goossens30-Dec-04 2:42
Adam Goossens30-Dec-04 2:42 
GeneralTreeNodes and Fonts Pin
Beringer27-Dec-04 19:21
Beringer27-Dec-04 19:21 
Hello,

I am using the generic TreeView Control from .Net 2002.

I want to have the root nodes of the control to have a bold font and I thought this could be easily done by setting the NodeFont attribute of the node.
However, when I do this the font is indeed bold but it seems that the control does not resize the text box the node text is drawn in and the text gets clipped (I assume becase the new bold font is wider than the previously assigned text which isn't bold by default).
Does anybody know what I can do to fix this.
Sample of code below:

TreeView treeView = new TreeView();
...
TreeNode tn = new TreeNode("Test");
tn.NodeFont = new Font(treeView.Font, FontStyle.Bold);
...

Thank you in advance,
Eric

GeneralTrace Class question Pin
Spiros27-Dec-04 5:07
Spiros27-Dec-04 5:07 
GeneralRe: Trace Class question Pin
Robert Rohde28-Dec-04 23:32
Robert Rohde28-Dec-04 23:32 
GeneralWindows CE Pin
zagzagzag27-Dec-04 1:55
zagzagzag27-Dec-04 1:55 
GeneralRe: Windows CE Pin
Robert Rohde28-Dec-04 23:39
Robert Rohde28-Dec-04 23:39 
GeneralRe: Windows CE Pin
zagzagzag1-Jan-05 11:51
zagzagzag1-Jan-05 11:51 
GeneralSome doubts in exposing .NET component to a COM client Pin
harishcom26-Dec-04 17:13
harishcom26-Dec-04 17:13 
QuestionWhere can I get the Microsoft Windows .NET DDK? Pin
momer25-Dec-04 20:04
momer25-Dec-04 20:04 
GeneralRunning process in background Pin
mmsspp22-Dec-04 23:02
mmsspp22-Dec-04 23:02 
GeneralRe: Running process in background Pin
T Manjaly6-Jan-05 13:37
T Manjaly6-Jan-05 13:37 
GeneralMSMQ in .NET - Design question Pin
Anonymous22-Dec-04 11:48
Anonymous22-Dec-04 11:48 
GeneralPassing a .NET function pointer to COM component Pin
jimhammy22-Dec-04 4:58
jimhammy22-Dec-04 4:58 
Generalinjecting a DLL to aspnet process Pin
impeham22-Dec-04 4:31
impeham22-Dec-04 4:31 
GeneralPlugins for IE using .NET Pin
Raghu B. Gowda21-Dec-04 19:27
Raghu B. Gowda21-Dec-04 19:27 
GeneralIs it possible to open IE/Netscape browsers in Hidden Mode ... Pin
new_phoenix21-Dec-04 11:02
new_phoenix21-Dec-04 11:02 
GeneralReceiving Data Socket Client Pin
TVILLE20-Dec-04 3:03
sussTVILLE20-Dec-04 3:03 
Generalvisual studio 2005 beta / visual studio.net 2003 Pin
Aviv Halperin19-Dec-04 20:38
Aviv Halperin19-Dec-04 20:38 
GeneralRe: visual studio 2005 beta / visual studio.net 2003 Pin
zagzagzag27-Dec-04 2:46
zagzagzag27-Dec-04 2:46 

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.