ui questions

  • Thread starter Thread starter johnny
  • Start date Start date
J

johnny

I am trying to create a ui that has a look and feel similar to the
Pocket Outlook Contact details screen on Smartphone 2003. The screen
lists a series of properties for the contact each of which can be
hilited. To me, the control looks like a listview without column
headers. It has full row selection and the data seems to be in two
columns. But it has a couple of features I do not beleive are possible
with the cf listview: First, the text wraps if it is too long to fit
in one row and, second, the fonts of subitems can be changed (in this
case bolded). Are these possible to do with a listview? If not, any
suggestions on how to accomplish such a screen?

Thanks
 
You will need to create a custom control to do this. You may be able to make
use of Alex Yakhnin's article on writing a custom list control:-
http://www.opennetcf.org/Articles/ownerdrawnlist.asp

However you will need to add additional functionality to support mixed bold
and regular items - by adding an additional property to the list item - and
checking it when you draw the item to determine which font to use.

Peter
 
Back
Top