Hi Fabian

On 15 April 2012 21:40, Jeremy O'Donoghue <jer...@o-donoghue.com> wrote:

> They could be added easily. I'll take a look.
>
> On 15/04/2012 12:16, "Fabian Binz" <fabianb...@yahoo.de> wrote:
>
> Hello, ****
>
> ** **
>
> I need to display a quite large number of data in a list control and use
> the ‘items’ attribute for that purpose. However, I’m not content with the
> speed of this solution andwould like to use a ‘virtual’ list control
> instead, as it is described here: [1]****
>
> ** **
>
> The problem is, that the necessary constants and functions (i.e.
> wxLC_VIRTUAL) are not defined by wxHaskell. Is there a technical reason for
> this or could they be added easily?
>

I have just pushed experimental support for virtual list controls to the
GitHub experimental repo. You're welcome to give it a try.

https://github.com/jodonoghue/wxHaskell/commit/b5d1029b272460d729950d751d90da76df56b5dc

Added methods: listCtrlGetItemFont, listCtrlIsVirtual,
listCtrlRefreshItem, listCtrlRefreshItems.
Added constants: wxLC_VIRTUAL, wxLC_MASK_TYPE, wxLC_MASK_ALIGN, wxLC_MASK_SORT.
Removed deprecated constant wxLC_USER_TEXT.


I'll be pushing the work which I've pushed over the last week or so to the
Darcs repo next week, and will make a release to Hackage once I have had a
chance to test on all platforms (I've only verified on Mac for the moment.

Best regards
Jeremy
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to