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)
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
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
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
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
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 (
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
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,
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!
9 matches
Mail list logo