Virtual listview

P

PGP

What is the best option to get virtual listview functionality in CF? Are 3rd
party controls the only option here?
 
M

Mark Erikson

What is the best option to get virtual listview functionality in CF? Are 3rd
party controls the only option here?

Haven't tried this myself, but I'd think it should be possible to make
it work with the native listview control as long as you're using CF
2.0 or later. You should be able to do the appropriate WndProc
manipulations using CF2.0's interop functions. I suggest looking at
the OpenNETCF Smart Device Framework's Control2 class for some help
with that.

Here's a couple of related implementations for the full framework that
might be good references. One just extends the built-in ListView
class, the other simply instantiates the native control and wraps it.
These could probably be modified to work with the Compact Framework.

http://www.koders.com/csharp/fid1E0341DCC5257B0857A17B1D3C9E9BCEE31E3CA0.aspx?s=listview#L38
http://www.freeweb.hu/noiseehc/VirtualListView.cs
 
M

Mark Erikson

What is the best option to get virtual listview functionality in CF? Are 3rd
party controls the only option here?

Haven't tried this myself, but I'd think it should be possible to make
it work with the native listview control as long as you're using CF
2.0 or later. You should be able to do the appropriate WndProc
manipulations using CF2.0's interop functions. I suggest looking at
the OpenNETCF Smart Device Framework's Control2 class for some help
with that.

Here's a couple of related implementations for the full framework that
might be good references. One just extends the built-in ListView
class, the other simply instantiates the native control and wraps it.
These could probably be modified to work with the Compact Framework.

http://www.koders.com/csharp/fid1E0341DCC5257B0857A17B1D3C9E9BCEE31E3CA0.aspx?s=listview#L38
http://www.freeweb.hu/noiseehc/VirtualListView.cs
 

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

Similar Threads

Listview on .net CF 2.0 0
ListView KeyPress event 3
Using Listview CF 2.0 1
Virtual ListView 3
ListView Hang? 1
Adding images to a listview 11
listview vertical scroll bar sizing 2
MultiSelect ListView in CF? 1

Top