Re: [win32gui] [perl-win32-gui-users] Catching Combobox droplist mouse clicks

2005-05-07 Thread Jez White
Kurt, droplist didn't work with the mouse but it wasn't obvious why. I wonder if invoking Dialog() via an instance should be outright forbidden in GUI.pm or GUI.xs. Unless there is a reason for Dialog to exists as a method - it probably should be forbidden - thoughts anyone? Cheers, jez.

[perl-win32-gui-users] AxWindow Application Error

2005-05-07 Thread Ariel Serbin
I'm having a problem with AxWindow throwing an error when it quits. I'm embedding the Microsoft Office Document Imaging program into my app. When my program exits, i get a dialog box that reads: -- The instruction at "xx" referenced memory at "xx". The memory could not be "read".

Re: [perl-win32-gui-users] AxWindow Application Error

2005-05-07 Thread Jez White
Hi Ariel, As a guess this could be a scoping issue. When your app is shutting down, various Perl variables will be destroyed and where appropriate, they will call the destructors "elsewhere" (in the xs code), i.e., your main window might be getting destroyed before your control (or vice versa)

Re: [perl-win32-gui-users] AxWindow Application Error

2005-05-07 Thread Ariel Serbin
Jez, Thanks for the reply. I tried undefing the window, ax-control and ole-control in various orders. All of them still generated the error. I tried stepping through the script to see which undef was causing the error, but it seems to be caused by something under the hood that happens after all

[perl-win32-gui-users] Simple Text

2005-05-07 Thread MJG
I have a simple window I've created. Usually, I just do windows with buttons, but I have a need for text with the window. I have not found any examples of how to do this. Can someone provide an example within my example of how to just add text to the main portion of the window? Thank you in adva

Re: [perl-win32-gui-users] Simple Text

2005-05-07 Thread Ariel Serbin
To add plain text, you can use a label: $W->AddLabel( -name => "mylabel1", -left => 10, -top => 150, -width=> 100, -height => 22, -text => "Some Text Here" ); --- MJG <[EMAIL PROTECTED]> wrote: > I have a sim

RE: [perl-win32-gui-users] Simple Text

2005-05-07 Thread MJG
Ok, that's cool, but let's say I want to fill the entire window with text. Do I use a label for each row, or is there something I can use to just fill the window? Thanks -Original Message- From: Ariel Serbin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 1:07 PM To: MJG; perl-w

RE: [perl-win32-gui-users] Simple Text

2005-05-07 Thread Ariel Serbin
i'm not positive about the best way to do this, but labels can wrap text. if you just make a big label it will work. try this: use Win32::GUI; $win = new Win32::GUI::Window( -title => 'test', -name => 'mywin', -left => 100, -top => 100, -width => 400, -height => 400, ); $lbl = $win->AddL