Hi,
I have create a program using Win32::GUI and perlapp.
I have made the main window a dialog window for making it usable with a
keyboard, so if I press the escape key, the program closes.
Well, this is pretty ok, but the problem is that perl interpreter doesn't
always close, and after closing
Hi Teddy,
I've experienced a similar problem, which was solved by code like the
following:
Win32::GUI::Dialog();
$Dlg-DESTROY();
In other words, call the Destroy method of the dialog object after the
GUI event loop terminates, thus ensuring that Perl completely releases
the dialog resources.
Octavian Rasnita wrote:
I have made the main window a dialog window for making it usable with a
keyboard, so if I press the escape key, the program closes.
Well, this is pretty ok, but the problem is that perl interpreter doesn't
always close, and after closing the program that way, I can see
From: Robert May [EMAIL PROTECTED]
Do you have a multi-line edit control (Win32::GUI::Textfield) in the
dialog? Does this symptom only occur when the textfield has focus?
If so it's a known bug - I can generate a work around, let me know.
Hmm, strange! I was almost sure that this issue
Rob may have a better solution, but in case it's helpful, this technique
worked for me. Set Escape as an accelerator key that terminates the
dialog, e.g., by defining an accelerator table as follows:
my $Keyboard = Win32::GUI::AcceleratorTable-new(Escape = sub {return
-1;});
Then, include
Umm, I know it's back there a bit, but you will find postings from
myself and Rob on this issue. There are even examples in the Win32::GUI
package for dragndrop operations.
If you can't locate it, let us know and I will dig up the files from my
own archives ( I have it somewhere)
Regards,
6 matches
Mail list logo