You've set up the _Timer properly. Perhaps you can share some more code?

Also, you never finished your DialogBox question.



-----Original Message-----
From: Christian Kappler [mailto:[EMAIL PROTECTED]
Sent: Friday, April 11, 2003 4:58 AM
To: Perl-Win32-GUI Mailinglist
Subject: [perl-win32-gui-users] Timer-Object-Question


Hello,

I have a question about the use of the Win32::GUI::Timer-Object. I would be
glad if someone could give me some advice. I would like to create a timer
which gets fired once every second. What I did was:

$Window->AddTimer('MyTimer',1000);
sub MyTimer_Timer {
# Some code
}

I found that the _Timer subroutine was called twice in succession every
second. What is it I am doing wrong?

Maybe this question is stuppid, but I could not figure out my misstake. I
played a bit with the return value of the _Timer event. It seems to make no
difference.

I am using Win32-GUI version 0.0.558 under Win XP with ActivePerl 5.6.

Thanks in advanced for your help.

Regards,

  Christian



2. In my perlscript I would like to use a DialogBox to show the progress of
some printing to hard disc I am doing in a while loop. I found that the
DialogBox was



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users

Reply via email to