There is an option for list view that does this for you:
-showselalways=>1

-----Original Message-----
From: Piske, Harald [mailto:[EMAIL PROTECTED]
Sent: Friday, October 26, 2001 9:30 AM
To: 'Peter Eisengrein'; perl-win32-gui-users@lists.sourceforge.net
Subject: RE: [perl-win32-gui-users] ListView loses selection


> Why then, I wonder, does it not show the selection if you do a
> $Window->ListBox->SetFocus() or even
> $Window->ListBox->SelectedItem->SetFocus() ? I tried both 
> with a sub of
> Window_GotFocus and Window_Restore.
Just a thought, I did not try: if you change the selection to what it
already is or even actually change it and then change it back, will it show?

_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users

Reply via email to