Oswaldo Hernández wrote:
Hello,
On listCtrl LC_VIRTUAL style, the callbacks OnGetItemText() and OnGetItemAttr() ar called when move the mouse over the ListCtrl making a lot of callbacks.
You can test it in ListCtrl_Virtual demo, putting a message in those functions.
How can avoid that?
You can't since the callbacks are being generated by the native control. But you can use a cache of some sort so returning recently used values is very quick.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!