Joe, 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.
Thanks again, Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2001 10:36 AM To: Dave Cc: perl-win32-gui-users@lists.sourceforge.net Subject: Re: [perl-win32-gui-users] ListView loses selection Dave, 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. Joe "Dave" <[EMAIL PROTECTED]>@lists.sourceforge.net on 10/26/2001 09:13:16 AM Sent by: [EMAIL PROTECTED] To: <perl-win32-gui-users@lists.sourceforge.net> 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. Dave McLaughlin [EMAIL PROTECTED] _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users