sub Exit_Click {
exit;
}
this works, pretty much like the engine stops if you hold the brake, put in
any gear and release the clutch. The way it was designed to be is to return
-1, which tells Win32::GUI to exit the message loop and return from the
Win32::GUI::Dialog() call back to your
Ok, it may be that I have hacking at my script so long I am cross-eyed, but it
is too much fun to stop now. I figured the best way to learn the Win32::GUI was
to write a cool little toolbar with a couple of my most used apps on it. It
floats and brings up my apps like it should, but it closes af
Do you have the Win::GUI::Dialog(); statement in there?
-Original Message-
From: Chris Etzel [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 10, 2001 8:03 PM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] keeping a window open
Ok, it may be that I have h
Chris wrote:
Ok, it may be that I have hacking at my script so long I am cross-eyed,
but it is too much fun to stop now. I figured the best way to learn the
Win32::GUI was to write a cool little toolbar with a couple of my most
used apps on it. It floats and brings up my apps like it should, bu
Hirosi Taguti wrote:
I've just tried.
The demo program in the POD printed,
"Initial state : accepts drops: 0",
and memory vioration occured, says,
pgm 0x01d61c6a accessed 0x, cann't become as read...
That's weird. I just call the DragAcceptFiles() function to tell the window
that it
yes.
Here is the code. It's messy, but commented ...
use Win32::GUI;
#($DOS) = Win32::GUI::GetPerlWindow();
# Win32::GUI::Hide($DOS);
# this is basically a test to learn Win32::GUI
my $Toolbar=Win32::GUI::Window->new(
-name=>'Toolbar',
-size=>[600,75],
-title=>"PERL ToolBar",
replace exec with system and it works. exec tells perl to run something and
quit.
-Original Message-
From: Chris Etzel [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 10, 2001 9:38 PM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: Re: [perl-win32-gui-users] keeping a window open
y
You are going to want to change 'exec' to 'system'. That should take care
of the problem.
Check the 'perlfunc' section of the Perl documentation to note the
differences between 'exec' and 'system'.
Jeremy Blonde
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
>perldoc -f exec
exec LIST
exec PROGRAM LIST
The `exec()' function executes a system command *AND
NEVER RETURNS* - use `system()' instead of `exec()' if
you want it to return. It fails and returns FALSE only
if the command does not exist *and* it is executed
Anyone had a problem with a Window that "falls asleep" if it has been
minimized for a while. I have this problem and it takes quite a while (> 10
minutes sometimes) for the system to return it when it is restored. This is
especially prevalent in Win98 but have also seen it on NT4.0.
Is there a fix
That did it. Thanks!
Chris
- Original Message -
From: "Frazier, Joe Jr" <[EMAIL PROTECTED]>
To:
Sent: Friday, May 11, 2001 9:11 AM
Subject: RE: [perl-win32-gui-users] keeping a window open
>perldoc -f exec
exec LIST
exec PROGRAM LIST
The `exec()' function executes a system
Never had that at all, and I love to keep my taskbar stuffed with around 15
open apps, 10 of which are min'd while I deal with 3 of the other 5. Even on
mon mornings, after around 64 hrs of win-dozing, they come up normally ...
that is, as painfully slow as is usual for this OS ;-)
There must be s
Well, I'd believe the memory problem before anything else. This particular
script is quite hungry and eats up a whopping 22MB+. Heck, that's even more
than Outlook! Thanks for the food for thought.
> -Original Message-
> From: Piske, Harald [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 11,
Hi all,
Thankyou for your help so far.
how do i get an icon to work for a console window...eg. i want to get rid
of the console-window-dos-prompt icon when i run my console program.
Thankyou
Jeremy
favicon.ico
Description: Binary data
Hi all,
Thankyou for your help so far.
If you have not seen my previous email "about the console icons" please do so.
my question is, I have made a bmp to cover the entire background of a
window. how do I make all the labels transparent, to blend with the
background image?
Thankyou
Jeremy
I struggled for an entire night trying to figure this out. ;-) Actually, I
was trying to mimic Winamp's skins and while I'm not quite there, I can
"skin" my GUI (okay, so it may be cheesy but it was fun to do).
Here's how I did it:
Create the window, create a label (the size of the window), fill
Now that reminds me... I have the exact opposite problem:
When using a bitmap image on a button, how do I make the bitmap transparent?
There is never transparency info in a bitmap as such, but apparently, given the
right inforrmation, windows will treat the color of the pixel in the lower left
17 matches
Mail list logo