Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4204
  • Last Modified:

Listview item multiline on Windows Mobile

I'm working for Windows mobile 6 with compact framework 3.5.
I want to have a Listview, or other control (only Microsoft) to have two line on one item.
The lines havent same font size.

Please, look, example below.

It's possible ?

Thank's.
Exemple-Listview.jpg
0
Anticylone
Asked:
Anticylone
  • 4
  • 3
1 Solution
 
alexey_gusevCommented:
look here for the sample for custom DataGrid:

http://blogs.msdn.com/priozersk/archive/2007/11/11/datagrid-with-a-custom-header-and-selection.aspx

here is some code to customise ListView:

http://blog.opennetcf.com/ayakhnin/CategoryView,category,ListView%20header.aspx

The main idea is to override Paint() or DrawItem()
0
 
alexey_gusevCommented:
0
 
AnticyloneAuthor Commented:
Thank's you for this samples.

I try to override the OnPaint event of ListView, but don't know which item is painting and I have not found the DrawItem event.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
alexey_gusevCommented:
I think DataGrid might be easier, with ListView it is more complicated, but for some sample you could look here: http://www.opennetcf.com/Default.aspx?tabid=120
0
 
AnticyloneAuthor Commented:
Thank's for your response.

I finaly find this link : http://msdn.microsoft.com/en-us/library/ms229679.aspx
Now it work as ListView

Regards
0
 
alexey_gusevCommented:
great :)
0
 
AnticyloneAuthor Commented:
Thank's for your help.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now