views:

455

answers:

3

hello,

Forgive me if i'm wrong. I am trying to learn and build listview to show the text vertically in listview. I'm wondering that no-where i found listview samples for WM standard SDK using C# language. Can you share if you know any details about listview samples for WM standard SDK using C# language? Please note, i need to show the text one by one Vertically in listview.

I felt starting with c# language for WM development is not suggestible, i think .Net framework or c++ languange with win 32 should be always good for developing any WM applications?

Thanks.

EDITED: "ctacke " answered it correctly. But if anyone can share the link where i can have some samples of doing custom listview vertically, let me know. Thanks to all replies.

A: 

You might look into the OpenNETCF's Smart Device Framework Community Edition which has a ListView control. Be warned though that it requires VS2005, AFAIK, there is no VS2008 version - I found out the hard way and VS2008 got a tad bit messed up as a result, but, you can most certainly add a reference to them in your project..have a look at the documentation that comes with it.

Hope this helps, Best regards, Tom.

tommieb75
Strange. All of the 2.3 versions were built and tested *only* against Studio 2008. We don't even support '05 (and I know they have to be manually added there).
ctacke
@ctacke: The controls were not added to the toolbox, even after browsing for the items to be added into it manually...nope! nada...and then VS kind of grinded to a halt...
tommieb75
Thanks so much People. I already developed 70% of my WM application on Standard SDK using C# language. So i'm looking into listview(showing text vertically in listview) samples with the same environment, not in .Net framework.
@unknown: you do know that C# applications run on the .NET Compact Framework? i.e. .NET Compact Framework samples are written in C#, so are applicable to your case.
tomlog
A: 

The .NET Compact Framework has a standard ListView control as described here. The article also has a C# example on how to create a ListView, add items to it and add it to your form.

tomlog
But you can't make the items run vertically like the post is asking. He needs to do custom-drawn, which is painful (but possible)
ctacke
A: 

Christian Helle has a good blog entry on custom-drawn ListView controls. He doesn't cover vertical text, but I can't imagine any tutorial is going to be that specific. You simply need to custom draw the items and rotate the font drawing manually.

ctacke