Hello,
I have again some small questions:
1.How can I draw StatusBar with multiple panels in it?
This topic was already discussed about 3 years ago.
Answer was then "no(t yet :-)". And if I can, how can
I put ProgressBar inside StatusBar?
2.I have upgraded to 0.0.670 Win32-GUI and now I get
warning "the -style option is deprecated!"
when I use -style => WS_VISIBLE|3|WS_VSCROLL
in Combobox. How should I change it?
3.Is it important, in which order "use SomeModule"
statements are wrotten? in particular if I use
several Win32::* modules , e.g.:
use Win32::GUI;
use Win32::OLE;
use Win32::Process;
use DBI;
use Win32::GUI::AxWindow; # after Win32::GUI ??
use Win32::Sound;
use Win32; # topmost or it doesn't matter?
4.I want give to user the possibility to launch my program
from command line, with TaskPlaner etc. I tried to put GUI
stuff in sub and don't start it when the program starts
with some switch (e.g. MyApp.exe -c 1 -g 8). It works fine
untill I close the program. I get the warning/error:
(in cleanup) Can't call method "FETCH" on an undefined value
at C:/Programme/Perl/site/lib/Win32/GUI.pm line 2345 during
global destruction.
The line 2445 is relating to DESTROY KillTimer.
The minimal code :
#!/usr/bin/perl -w
use strict;
use Win32::GUI;
my ($Window,$t1);
GUIStart();
sub GUIStart{
$Window = new Win32::GUI::Window(
-pos => [100, 100], # no error,if I comment this out
-size => [650, 600],
-name => "Window",
);
$t1 = $Window->AddTimer('T1',25000); # the same
$Window->Show();
Win32::GUI::Dialog();
}
sub Window_Terminate {
return -1;
} ;
And in general, how much attention should I pay to warnings
during terminating?? :-)
--
Best regards,
Pavel mailto:[EMAIL PROTECTED]