TreeView onPaint problem

G

Guest

I am writing a small program just to test mirroring on TreeView control in C#. Along with that i wanted to add some more functionality in its "onPaint" override. But this override is not called. As i read over few websites.. this is a bug in TreeView in .Net. Is there any proper work around?
 
H

Herfried K. Wagner [MVP]

* =?Utf-8?B?QXRh?= said:
I am writing a small program just to test mirroring on TreeView
control in C#. Along with that i wanted to add some more functionality
in its "onPaint" override. But this override is not called. As i read
over few websites.. this is a bug in TreeView in .Net.

It's not a bug IMO, it's not called because the control is not drawn by
managed code, its drawn by Windows.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top