Re: [perl-win32-gui-users] ListView - Report Mode [Was: Listbox multi-column]

2006-09-06 Thread Robert May
Roode, Eric wrote: AH! The light dawns! The problem is not in the Listbox, it's in my expectations of it. :-) I had thought that a multi-column listbox would show multiple sub-items *per selectable item*, sort of the way a ListView works. Say I was doing library books, and the user's search

Re: [perl-win32-gui-users] [win32-gui] Listbox multi-column

2006-09-06 Thread Roode, Eric
AH! The light dawns! The problem is not in the Listbox, it's in my expectations of it. :-) I had thought that a multi-column listbox would show multiple sub-items *per selectable item*, sort of the way a ListView works. Say I was doing library books, and the user's search returns four possibil

Re: [perl-win32-gui-users] [win32-gui] Listbox multi-column

2006-09-06 Thread Robert May
-vscroll => 1, s/vscroll/hscroll/ Regards, Rob.

Re: [perl-win32-gui-users] [win32-gui] Listbox multi-column

2006-09-06 Thread Robert May
Roode, Eric wrote: I am trying to figure out how to work with a multiple-column listbox. The doco clearly shows how to create the Listbox as multi-colum: -multicolumn => 0/1 (default 0) but it says nothing about how to add/insert multicolumn items. No different to adding non-multicolumn i

Re: [perl-win32-gui-users] How to disable the default action of Textfield in onKeyDown()?

2006-09-06 Thread Robert May
flw wrote: I want to write an editor use Win32::GUI; So I hope I can process the KeyDown event for Textfield control by myself. After some tries, I can't disable the default action of Textfield in sub onKeyDown(). following is my code, any help would be appreciated. Sorry, but it's not clear t

Re: [perl-win32-gui-users] [win32-gui] precision timer event?

2006-09-06 Thread Robert May
Steve Loughran wrote: Just a quicky... I need to be able to obtain a high precision time stamp when certain events are triggered (more precise than time()), and after searching cpan for some answers, it seems there are a lot of options I could choose. Any pointers? Time::HiRes should do what

Re: [perl-win32-gui-users] precision timer event?

2006-09-06 Thread tinti
I think you should be able to use Win32::GUI::Timer (http://perl-win32- gui.sourceforge.net/cgi-bin/docs.cgi?doc=timer) or Time::HiRes (http://search.cpan.org/~jhi/Time-HiRes-1.90/HiRes.pm). I used already both of them and they always did what I want ;) Raoul -Original Message- From: Ste

[perl-win32-gui-users] precision timer event?

2006-09-06 Thread Steve Loughran
Hi all Just a quicky... I need to be able to obtain a high precision time stamp when certain events are triggered (more precise than time()), and after searching cpan for some answers, it seems there are a lot of options I could choose. Any pointers? Steve