PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework draw partial last item with OpenNETCF.Windows.Forms.ListBox2

Reply

draw partial last item with OpenNETCF.Windows.Forms.ListBox2

 
Thread Tools Rate Thread
Old 16-04-2008, 02:12 AM   #1
vkoser
Guest
 
Posts: n/a
Default draw partial last item with OpenNETCF.Windows.Forms.ListBox2



Posted this in the OpenNETCF community but didn't get any response so
thought I would try here to see if anyone knows.

I'm using the ListBox2 for an ownerdrawn list and placing an image and
text in the items. The problem I'm running into is if the
ListBox2.Height isn't divisible by ItemHeight perfectly then the last
item in the list doesn't show and its just a large white box. It
seems that NOINTEGRALHEIGHT isn't available on the ListBox2 or I'm not
sure how to use it.

I would just like the last ListBox2 item visible on the control to
draw even if only 3/4 of it is visible.

Thanks for any insight into this issue

vince
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off