"Niciyou" <Niciyou@discussions.microsoft.com> schrieb:
>I create a class derived from TreeView and override the OnPaint method in
> which I add some drawing act.
> But when I run the program and find that the OnPaint method not be invoked
> actually.
>
> Why?????
The TreeView control is not drawn by .NET, instead it's drawn by the Common
Controls library.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>