473,466 Members | 1,336 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

TreeViewDrawMode.OwnerDrawText mode problem with (-1, 0) location

I have a problem with DrawNode(object sender, DrawTreeNodeEventArgs e) event
handler.
When I expand a child node somewhere in a tree hierarchy, that node is drawn
twice, first time at the point (-1,0), which overwrites the first node, and
second time in it’s own correct point.

Same problem was described at
http://www.tech-archive.net/Archive/.../msg00140.html.

What is happening? How can I fix it?

Jul 14 '08 #1
0 1039

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: ss | last post by:
Hi I built an exe in console debug mode & Release mode . The console debug mode -exe works fine ...but the release mode EXE starts well but fails mid way . The exe is being started as a...
10
by: Eric | last post by:
I have a pet project I'm working on. I start in DOS in assembly, switch to protected mode and play around with things in that environment. I'm wondering if i started at main in a C program then...
8
by: karahan celikel | last post by:
I realized that when SqlServer mode is used for session management Session_End event is not fired in global.asax. What can I do if I want to do something when a user's session end? Thanks
0
by: Rich | last post by:
Hello, I have an asp.net app that runs OK on a workstation in debug mode (from the IDE). If I copy the asp.net app to another location or another workstation (which is configured exactly the...
6
by: John Lynagh via .NET 247 | last post by:
Hi there, I am having serious problems with my web.config file. When the authentication lines are added below my application crashes. When they are removed it works fine. Is there syntax error below...
0
by: Brian Henry | last post by:
Here is another virtual mode example for the .NET 2.0 framework while working with the list view. Since you can not access the items collection of the list view you need to do sorting another...
1
by: Joe | last post by:
What I want to do is make only one page require a login. The application itself works fine. I'm getting the following error: Parser Error Message: It is an error to use a section registered as...
0
by: Luc Kumps | last post by:
I populate a TreeView (tv) with 1110 nodes like this: for (int i = 0; i < 10; i++) { tv.Nodes.Add("x"+i.ToString()); for (int j = 0; j < 10; j++) { tv.Nodes.Nodes.Add("y"+j.ToString()); for...
2
by: Tor Inge Rislaa | last post by:
I am prompted to implement the syntax below to be able to monitor the error on the remote server trough my browser (client). I can't seem to find where to place the code in my web.config file to...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.