开发者

OwnerDraw on compact framework controls

is there way (unmanaged m开发者_Python百科aybe?) how to do the ownerdraw functionality on ListBox/ListView/TreeView controls in Compact Framework? Or is there some another controls (free? paid?) with similar functionaly (kinetic scroll for example)?

Thanks


It's far from straightforward to do owner or custom drawing int he CF. Christian Helle has an example for the ListView in his blog here.


1) I filed a request to Microsoft to add this feature.

2) You can do this using the ListBox2 class in the Smart Device Framework

3) You can derive from ListControl and add this logic yourself (I did this by looking at the source code of the .NET Framework Version of ListBox)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜