Re: [perl-win32-gui-users] ListView loses selection

2001-10-26 Thread EvanK40767
>>I don't think sub Window_GotFocus even works. I tried using it once and it didn't work no matter what I tried, it wasn't important so I gave up.<< Try Window_Activate. i believe it's the same thing.

[perl-win32-gui-users] How do I get a list of all checked items in a TreeView?

2001-10-26 Thread Greg Johnston
Is there an easy way to get all of the checked items in a TreeView? Looking at the documentation it seems like my only option is to search through all the nodes testing them with ItemCheck.

RE: [perl-win32-gui-users] ListView loses selection

2001-10-26 Thread Joseph_Vieira
Worked for me. The color of the selection changed from blue to gray, but you still see that it is selected. "Dave" <[EMAIL PROTECTED]>@lists.sourceforge.net on 10/26/2001 01:24:00 PM Sent by: [EMAIL PROTECTED] To: "'Thomas, Timothy B'" <[EMAIL PROTECTED]> cc:(bcc: Joseph Vieir

RE: [perl-win32-gui-users] ListView loses selection

2001-10-26 Thread Dave
That didn't work for me in listview, does it work for anyone else? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas, Timothy B Sent: Friday, October 26, 2001 11:42 AM To: 'Piske, Harald'; 'Peter Eisengrein'; perl-win32-gui-users@lists.sourceforge.ne

RE: [perl-win32-gui-users] ListView loses selection

2001-10-26 Thread Joseph_Vieira
I don't think sub Window_GotFocus even works. I tried using it once and it didn't work no matter what I tried, it wasn't important so I gave up. "Thomas, Timothy B" <[EMAIL PROTECTED]>@lists.sourceforge.net on 10/26/2001 11:41:45 AM Sent by: [EMAIL PROTECTED] To: "'Piske, Harald'" <[EM

RE: [perl-win32-gui-users] ListView loses selection

2001-10-26 Thread Thomas, Timothy B
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

RE: [perl-win32-gui-users] ListView loses selection

2001-10-26 Thread Piske, Harald
> 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

RE: [perl-win32-gui-users] ListView loses selection

2001-10-26 Thread Peter Eisengrein
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. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent:

RE: [perl-win32-gui-users] ListView loses selection

2001-10-26 Thread Dave
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

Re: [perl-win32-gui-users] ListView loses selection

2001-10-26 Thread Joseph_Vieira
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

[perl-win32-gui-users] ListView loses selection

2001-10-26 Thread Dave
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

RE: [perl-win32-gui-users] Problems with List Boxes

2001-10-26 Thread Frazier, Joe Jr
Inline comments > -Original Message- > From: SSGT Steven Swenson [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 25, 2001 2:17 PM > To: Perl-Win32-GUI-Users@lists.sourceforge.net > Cc: [EMAIL PROTECTED] > Subject: [perl-win32-gui-users] Problems with List Boxes > > > > > I am tryi