>deselect -> select -> idle
in multiple select mode?
i could get: select -> select -> select -> select
is this definitively a windows bug? i mean this would be a heavy one
and should be known.
i searched for it on google and microsoft.com but found nothing
(should mention that i've no idea about the official c name of a
treectrl)
has someone tested this on win2000? or on another win98 box?
what happened?
greeting
Marco
>> hello,
>> i get an unexplainably "EVT_LIST_ITEM_DESELECTED"...
>It looks like this is the native Win32 ListViev
>behaviour, and it is consistent with wxGTK, so I think it is correct.
>
>> you can reproduce it with the listctrl sample:
>> - remove "wxLC_EDIT_LABELS|" on line 97
>> - add something like "print "here\n";" after line 512
>> (to better see the event)
>> - start the sample
>> - set the list to multiple selection (menu -> List -> last one)
>> - click on an item
>> - click on the SAME item again -> "EVT_LIST_ITEM_DESELECTED"
>> you get an "here" on the console (or whatever's in your print line)
>>
>> i mean no item is deselected. this shouldn't occur?!?!?
>> has anyone an explanation / workaround?
>Blame Microsoft ;-p ? Seriously, you may set a flag in the event handler
>and do whatever you want to do in idle time
>( you should receive events in this order:
>deselect -> select -> idle, so you may catch this special case )
>
>> Wx 0.11 beta 4
>> Active Perl 631
>
>Regards
>Mattia
|