[perl-win32-gui-users] Development activity and strange issues
Hello list, first of all I wish a good new year to all! And now some questions :-) 1) I tried to port my app to the new event model, but not all events were thrown (e. g. I think click on StatusBar was not fired). So I gave up. 2) I read that mixing the old and new event model would be possible (when all controls belonging to one window use the same event model). Is this correct or are there problems? 3) I found strange behaviours in Win32::GUI: For example: "use diagnostics -verbose;" makes non working scripts to work? This resolved problems like "undefined subroutine &main:: called at ..." the line where "Win32::GUI::Dialog();". Is this a bug or a feature? And the answer for which I would really like to have an answer :-) Aldo wrote on 2002-10-17: "I will try to backlog the mailing list and reply to unanswered questions, a new version is in development and will be out soon." What is "soon"? Is there any development? Sincerely Peter (I use Win32::GUI 0.0.665 with Win98, Activestate Perl 5.6.1 build 633.)
Re: [perl-win32-gui-users] WinXP draw/redraw issues with Win32::GUI
Yeah, I've the same problem - I ended up explicity setting the colour of the window (to 16) - not sure what effect this has on windows pre XP. Hope that helps, Cheers, jez. From: "Joseph H. Schwendt II" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] WinXP draw/redraw issues with Win32::GUI Date: Tue, 07 Jan 2003 13:43:50 -0500 I'm experiencing draw/redraw issues with an application I wrote using Win32::GUI. I initially wrote the application on Windows 2000, and the application appears correctly as expected. When I migrated to Windows XP, all of the background turned white from grey, except the label controls, which were still white. Essentially, the app looked ugly. Has anyone else experienced this and if so, is there a workaround? I also have several reports from people where the application doesn't draw any of the controls. It's just a white screen. I can provide screenshots if necessary to illustrate this condition. Keep in mind that the controls are there, and I can blindly click on them, and type in them, but the controls are not displayed. I've even tried minimize and restore to force a refresh, but it's no help. Is anyone aware of changes Microsoft might have made in the GUI API that could cause this? Is anyone else having issues with their apps on WinXP? Any help appreciated. Thanks, Joe. - Joseph H. Schwendt II http://schwendt.com [EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Re: [perl-win32-gui-users] cmd window when executing a perl skript
Or run with wperl.exe, this is good for use in shortcuts/scheduled tasks/double clicking. Note, to use with double clicking the script you will pry want to rename the script with a new extension, maybe .plx, and associate that extension with wperl.exe instead of perl.exe. -- Nathaniel G. Bartusiak TTMS, Keesler AFB > Johannes, > > Try, maybe this: > > # Create window > my $window = new GUI::Window( # __options___ > ); > > # Add some controls to window > > #Grab DOS window handle > my $DOS = Win32::GUI::GetPerlWindow(); > > # Hide DOS window > Win32::GUI::Hide($DOS); > > # Show window > $window->Show(); > Win32::GUI::Dialog(); > > #__more_code__ > > # Remeber to show the dos window > # when your script is finished > Win32::GUI::Show($DOS) > > > Regards, > > [ erick ] > > On Tue, 7 Jan 2003 21:57:26 +0100 > [EMAIL PROTECTED] (johannes huettemeister) wrote: > >> HI, >> >> im totally newbie to Win32::GUI. So maybe one very foolish question: >> when i execute one of the sample skripts included, I always get the >> command.exe window (msdos-box formerly i guess). Is there a way to >> avoid this? >> Im really no windows expert, but since I got to use it at work, I need >> to run perl with windows. cheers Johannes. >> > > > --- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > ___ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users