Re: [perl-win32-gui-users] Fw: printing

2002-08-28 Thread szorgitorp
> > > Hi! > > > > Thanks. Have you got any example script, that can print anything to a > > printer? > > Yes. But on the other computer then I use now. > So I'll send it to you in one day or two. It's fairly simple. Another solution: > search this mailing list - I posted here example code 3 or 4 mo

Re: [perl-win32-gui-users] right click menu items

2002-08-28 Thread Johan Lindstrom
At 11:48 2002-08-28 +1000, moo cow wrote: > he main problem is how do I detect a right click on a menu (Such as the Exit option > on the File menu found in most windows programs)? Yes, difficult. Not sure it can be done without hacking the XS to allow the event to be recognized. There's a "gen

Re: [perl-win32-gui-users] Problem looking for a solution

2002-08-28 Thread Johan Lindstrom
Syl wrote: > When you return -1 in any event sub, not just in _Terminate, your window > gets destroyed. Since you cannot exit the Dialog() loop other than with -1, > there are but two ways to do it But that is my problem. I return(-1) to Setup() but the window is not terminated by _Terminate or O

[perl-win32-gui-users] How to do it

2002-08-28 Thread Syl
I posted a note yesterday but did not get a satisfactory answer to my question. Let me rephrase the problem as follows. Assume I have window created with Win32::GUI that is used to collect some initialization data from the user. The window contains a number of labels and textfields plus an OK and

[perl-win32-gui-users] Receive name of columnheaders from a listview!?

2002-08-28 Thread Daniel Oetterli
Hi! I have a listview with items that I want to receive/get the name (-text) from the columnheaders when I click on them. I can get the index out ok, but how to get the text puzzles me. Anybody who know? Regards! / Daniel O.