ListView and top item

  • Thread starter Thread starter Alexander
  • Start date Start date
A

Alexander

Hello!
I'm writing an app for Windows CE.NET. I have a ListView on my form and
I would like to add search functionality to my form for the ListView.
How can I select programmatically an item and make it top view one? It
seems that compactframework.net doesn't have lot's of things that
Framework.Net has :(

Thank you!
 
Dear Microsoft Support!

Can you give me a solution to my problem (I really need help asap):

I'm writing an app for Windows CE.NET. I have a ListView on my form and
I would like to add search functionality to my form for the ListView.
How can I select programmatically an item and make it top view one? (It
seems that compactframework.net doesn't have lot's of things that
Framework.Net has, but what is solution for such small problem?)

Thank you!
 
You could create a control and aggregate a listview and a hscrollbar...
Overlay the listview's scrollbar with your own and implement your own
scrolling...that way you know the topmost item as well as have full control
over the listview's scrolling (knowing when a user requests it etc...)

Cheers
Daniel
 
Alexander --

This is a known limitation with V1 of the compact framework. The
PocketTaskvision application
(http://smartdevices.microsoftdev.com/Learn/Code+Samples/Pocket+TaskVision/d
efault.aspx) has an AWESOME custom listview control you can adapt to do
this with today. Look for this limitation to be fixed in our next major
version.


Seth Demsey
Lead Program Manager
.Net Compact Framework

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Seth, thank you for the answer and the example!

Is it possible to find sources of the original ListView control
somewhere to rewrite it for my needs, like it was in old good VC++ 6.0?
 
Back
Top