Ticket #812 (closed defect: not relevant)
Win32::GUI programs require 'external window' option
| Reported by: | Floyd-ATC | Owned by: | azawawi |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Debugger for Perl 5 | Version: | 0.53 |
| Keywords: | win32::gui invisible | Cc: |
Description
The following tutorial script shows a simple window:
use Win32::GUI(); # Version 1.06 from CPAN
my $main = Win32::GUI::Window->new(
-name => 'Main',
-width => 800,
-height => 600,
-title => $0
);
$main->Show;
Win32::GUI->Dialog(); # Enter message loop
exit;
sub Main_Terminate { -1; } # Terminate message loop
When run from the command-line, it works as expected. When run from inside Padre using F5 or the debugger, the script runs but the window does not show.
The problem goes away if I enable "Use external window" under Edit | Preferences | Run parameters
Change History
Note: See
TracTickets for help on using
tickets.

Related to #962