Thanks , I hadnt noticed that. If you wouldn't mind, I still have one
small problem, is there another way to bring the listview back into
focus? When you click on a column header in the app, it resorts the list
view. Maybe something I could call from a Window_Activate event? I have
had a hard time finding info on "forcing" something into focus.
From: Joseph_Vieira@... [mailto:Joseph_Vieira@...]
Sent: Friday, October 26, 2001 10:36 AM
Subject: Re: [perl-win32-gui-users] ListView loses selection
Actually it does not lose the selection in the list view, it only
appears that way. If you go to an outside application and then back to
the gui window the item is still selected but not highlighted. If you
put the focus back on the list view itself and not on the main gui
window you will see the selection still there. You can do that by
clicking on the list view headers for example.
"Dave" <dave@... on 10/26/2001 09:13:16 AM
Sent by: perl-win32-gui-users-admin@...
cc: (bcc: Joseph Vieira/DMR/CA)
Subject: [perl-win32-gui-users] ListView loses selection
I have a program with a listview, very often the user needs to use an
outside application then return to the GUI window, only everytime you
reactivate the GUI, it loses the current selection in the ListView.
Is there an easy way to avoid this and have it "remember" the current
selection when the window goes into the background?
Thanks in advance.
Perl-Win32-GUI-Users mailing list