From: Fleming, J. M <joh...@ed...> - 2007-05-29 23:19:28
|
Does anyone know how to disable tooltips in a GetOpenFileName window? I = have a problem that I think it related to tool tips. Sometimes (can't = tell what the trigger is) when hovering over a file the perl script will = just exit. No core file or complaints. I tried wrapping the whole = program into an eval { } print $@ if $@ but that didn't show anything.=20 =20 Side note... if anyone else knows of a way to trap a win32 error let me = know. :/ =20 thanks! =20 active state 5.8.8, win32gui- 1.05. I'm using xmlbuilder 0.49 to handle = heavy gui lifting. =20 =20 oh btw, are there any beta builds of 1.06 by any chance? |
From: Robert M. <rob...@us...> - 2007-05-30 19:03:32
|
On 30/05/07, Fleming, John M <joh...@ed...> wrote: > Does anyone know how to disable tooltips in a GetOpenFileName window? I'm not aware of any way to do this > I have a problem that I think it related to tool tips. You may be right, but it's more likely that we have a problem in Win32::GUI. > Sometimes (can't tell what > the trigger is) when hovering over a file the perl script will just exit. No > core file or complaints. I tried wrapping the whole program into an eval { } > print $@ if $@ but that didn't show anything. Well, I wouldn't expect a core file on windows. perl -W -MCarp=verbose some_script.pl might give you some additional information. In my experience it's very unusual for perl on Win32 to just give up with no warnings/error from either Perl or the OS. > active state 5.8.8, win32gui- 1.05. I'm using xmlbuilder 0.49 to handle > heavy gui lifting. Which Win32 OS? Regards, Rob. |
From: Fleming, J. M <joh...@ed...> - 2007-05-31 14:36:38
|
I thought it might be a win32 problem. I looked through cvs and tried to build 1.06 but I don't have a c compiler and wasn't sure which one I needed to install, but I didn't put too much into this.=20 I'll try adding those to the cli.=20 BTW this is XP sp2. Thanks for the reply!=20 ------------------- John Fleming INFORMATION SECURITY AMERICAS NETWORK SECURITY SERVICES 5400 Legacy Dr. Plano, TX 75024 Phone:+1-972-605-1232) email: joh...@ed... pager: 877-348-9078 pager email: 877...@sk... -----Original Message----- From: ro...@th... [mailto:ro...@th...] On Behalf Of Robert May Sent: Wednesday, May 30, 2007 2:03 PM To: Fleming, John M Cc: per...@li... Subject: Re: [perl-win32-gui-users] tool tips && Win32::GUI::GetOpenFileName On 30/05/07, Fleming, John M <joh...@ed...> wrote: > Does anyone know how to disable tooltips in a GetOpenFileName window? I'm not aware of any way to do this > I have a problem that I think it related to tool tips. You may be right, but it's more likely that we have a problem in Win32::GUI. > Sometimes (can't tell what > the trigger is) when hovering over a file the perl script will just=20 > exit. No core file or complaints. I tried wrapping the whole program=20 > into an eval { } print $@ if $@ but that didn't show anything. Well, I wouldn't expect a core file on windows. perl -W -MCarp=3Dverbose some_script.pl might give you some additional information. In my experience it's very unusual for perl on Win32 to just give up with no warnings/error from either Perl or the OS. > active state 5.8.8, win32gui- 1.05. I'm using xmlbuilder 0.49 to=20 > handle heavy gui lifting. Which Win32 OS? Regards, Rob. |
From: pcourterelle <pco...@te...> - 2007-06-01 07:02:50
|
----- Original Message ----- From: "Glenn Linderman" <pe...@Ne...> To: "pcourterelle" <pco...@te...> Cc: <per...@li...> Sent: Thursday, May 31, 2007 10:01 PM Subject: Re: [perl-win32-gui-users] PDF thumbnail display > On approximately 5/31/2007 9:30 PM, came the following characters from the > keyboard of pcourterelle: >> Is it possible to display a thumbnail or preview from a PDF using >> Win32:GUI? PDF is not supported by the DIBitmap package so I thought I'd >> ask, see if something was in development or other avenues exist. >> >> Thanks >> >> Phil Courterelle > > Yes, it is possible to do the display using Win32::GUI. But, as you > discovered, not the reading of the PDF file. Consider using Image::Magick > as a general image manipulation tool, convert the image into a local BMP > blob, and then display it using Win32::GUI. That's what I do. > Glen...thanks....I was thinking I would have to convert it to a bmp or jpeg or something before displaying...thanks for the confirmation and the suggestion...most appreciated. Phil |
From: pcourterelle <pco...@te...> - 2007-06-10 01:02:30
|
Are there any special requirements for memory management when using Perl Win32::GUI? I've created several some simple scripts with Win32::GUI where there is little more than a window, button and listview and the script is using 6 MB of memory. The memory usage increase dramatically each time a button is clicked or the listview is populated. (the buttons do nothing more than insert a static text item into the listview - literally "bob" The memory usuage never seems to decrease dynamically when the listview is reset. I'm certainly no expert but this does not seem right. Thanks Phil |
From: pcourterelle <pco...@te...> - 2007-06-01 04:29:48
|
Is it possible to display a thumbnail or preview from a PDF using Win32:GUI? PDF is not supported by the DIBitmap package so I thought I'd ask, see if something was in development or other avenues exist. Thanks Phil Courterelle |