Solved

Listview item multiline on Windows Mobile

Posted on 2009-07-01
7
4,119 Views
Last Modified: 2013-12-21
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
Comment
Question by:Anticylone
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 24755319
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
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 24755550
0
 

Author Comment

by:Anticylone
ID: 24761547
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
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
LVL 24

Expert Comment

by:alexey_gusev
ID: 24761617
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
 

Author Comment

by:Anticylone
ID: 24763051
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
 
LVL 24

Accepted Solution

by:
alexey_gusev earned 500 total points
ID: 24763195
great :)
0
 

Author Closing Comment

by:Anticylone
ID: 31598793
Thank's for your help.
0

Featured Post

Schedule a Tour of the ATEN booth at InfoComm 2017

Tour the ATEN booth to see the the Latest Addition to the Modular Matrix Switch Series, New 4K HDMI Over IP Extender and more! Enter ATEN's Ultimate Giveaway Sweepstakes for a chance to win one of several great prizes, including an ATEN US7220 2-Port Thunderbolt 2 Sharing Switch!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question