John,

>In the good old days, I ran into similar limitations with the VCL
>library in Delphi. I added support for virtual ListView / TreeView
>controls by hacking my way into the library (the extensibility points in
>the framework didn't let me add this functionality cleanly via
>derivation).
>
>Has anyone else gone down this path already?


Yeah, I've done this in the past. Making a virtual ListView by simply 
deriving from ListView and setting the  LVS_OWNERDATA style caused lots of 
unexpected problems. The control is apparently not written to handle that. 
So I ended up deriving directly from Control and implementing the whole 
thing from scratch instead.


Mattias

===
Mattias Sjögren
[EMAIL PROTECTED]

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to