[perl-win32-gui-users] USB PORT and PERL

2006-02-23 Thread Daniel Fernandez
Hi, Does somebody know how to send and receive data through the USB port? Is it necessary to use a DDL (which one?) or does exist a Perl Module? In CPAN exist a Module (Device:USB) but I think that it is very incomplete. I need to communicate the program with an USB printer (ELTRON P330i)

[perl-win32-gui-users] {Spam?} MDI Frame and Background image (Again)

2005-08-17 Thread Daniel Fernandez
Hi, First of all, I apologize for the continuous nuisances with my questions About the MDI Windows, now I have new questions or doubts. 1 - I'm trying to add a Rebar and a StatusBar to the MDI Frame with a Backgound image. 2 - With the code added to this message, the Window don't show

[perl-win32-gui-users] {Spam?} Re: MDIFrame and background Image

2005-08-15 Thread Daniel Fernandez
Thanks to all for your help. During this weekend I made several tests, investigate a little and finally I be able to expand the image inside a MDI Frame without using calls to the APIS (gdi32.dll). I use the functions # Load our bitmap my $bm = newFromFile Win32::GUI::DIBitmap ('backgound.bm

[perl-win32-gui-users] {Spam?} Re: MDIFrame and background Image

2005-08-12 Thread Daniel Fernandez
Hi, I'm trying to implement the StretchBlt function using a call to gdi32.dll in order to fill the window with the image. here, I load the dll my $ApiObj = new Win32::API ("gdi32", "StretchBlt", "PPN", "I"); Here, I call the StretchBlt $ApiObj->Call($dc, 0, 0, $ww, $wh, $memDC, $b

[perl-win32-gui-users] {Spam?} Re: MDIFrame and background Image

2005-08-11 Thread Daniel Fernandez
Hi, Thank you very much for your help. I'll test your example and try to implement the expand and the resize of themain image into the window. I hope to have not difficulties with this modification. Best regards. Robert May escribió: Daniel Fernandez wrote: Hi, Sorry by my last

[perl-win32-gui-users] {Spam?} Re: MDIFrame and background Image

2005-08-10 Thread Daniel Fernandez
ub { print "Activate\n"; }, -onDeactivate => sub { print "Deactivate\n"; }, -onTerminate => sub { print "Terminate\n";}, -onResize => \&ChildSize, ) or die "Child"; # Add a text filed into child window. $Child->AddTextfield (

[perl-win32-gui-users] {Spam?} Re: MDIFrame and background Image

2005-08-09 Thread Daniel Fernandez
t;; }, -onDeactivate => sub { print "Deactivate\n"; }, -onTerminate => sub { print "Terminate\n";}, -onResize => \&ChildSize, ) or die "Child"; # Add a text filed into child window. $Child->AddTextfield ( -name => &quo

{Spam?} RE: [perl-win32-gui-users] MDIFrame and background Image

2005-08-08 Thread Daniel Fernandez
Thanks for your answer The following code work for me. my ($width, $height) = ($Window->GetClientRect)[2..3]; my $B = new Win32::GUI::Bitmap('backgound.bmp') or die("new Bitmap"); my $bgimg = new Win32::GUI::Label ( -parent => $Window, -name=> 'BGImg', -left => 0, -top => 0,

[perl-win32-gui-users] {Spam?} MDIFrame and background Image

2005-08-06 Thread Daniel Fernandez
Hello, perl-win32-gui-users, Anybody knows if it's possible to display a background bitmap image in a MDIFrame? If it's possible, I will appreciate a short example . I'm using de MDI.pl example (Win32-GUI examples) for test. Thanks!