PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms TreeView onPaint problem

Reply

TreeView onPaint problem

 
Thread Tools Rate Thread
Old 10-05-2004, 06:26 AM   #1
=?Utf-8?B?QXRh?=
Guest
 
Posts: n/a
Default TreeView onPaint problem


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?
  Reply With Quote
Old 10-05-2004, 12:29 PM   #2
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
Default Re: TreeView onPaint problem

* =?Utf-8?B?QXRh?= <ata_ulhaq@hotmail.com> scripsit:
> 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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off