Hi listers,

I am not that familiar with windows GUI programming. So my questions might
be stupid, but I hope someone could help me with answers...

1. I would like to create a timer that is initially disabled. As I
understand the docu for Win32::GUI I have to set the elapse time of the
timer to 0 to disable it. So I thought

$Window = new Win32::GUI::Window(-name => 'Window',-height => 600, -width =>
800);
$MyTimer = $Window->AddTimer('MyTimer',0);

should create a window with a initially disabled timer and that

$MyTimer->Interval(0);

would disable it later on. But I found that the timer executed my event
subroutine sub MyTimer_Timer {...} very very often instead of being
disabled. What am I doing wrong here? How can I (initially) disable a timer?
Maybe it has to do with my system? I am using Win32::GUI version 0.0.558
under WinXp Home.

2. I would like to use the font object of Win32::GUI. I will need it to
display Western Europe characters as well as other types of characters (like
cyrillic). In the docu I found many options for this object, where I do not
know what they mean or which values might be valid for them. Here are some
of the options from the which I do not understand:
-escapement
-weight
-charset (Okay, this is for character sets. Is their a special notation for
this?)
-outputprecision
-clipprecision
-family
-quality
-name (Has the -name to be equivalent to the name of a font which is
installed on the computer?)
-face
And from the GetMetrics() mehtod:
-ascent
-descent
-ileading
-eleading
-avgwidth
-overhang
-aspectx
-aspecty
-firstchar
-lastchar
-breakchar
-flags

Maybe there is somewhere a more detailed documentation about using of fonts
which I could read? I am specially interested if -name has to be equivalent
to the name of a font installed on my computer and which values are valid
for the -charset option?

Thanks for all your hints and advice in advanced.

Regards,

  Christian

*** Christian Kappler ***



Reply via email to