From: Brian M. <bmi...@hu...> - 2006-12-08 01:47:34
|
If I remember correctly, Width is the width of the window, as displayed = on the screen. ScaleWidth is the width of the window drawable area (width = - size_of_borders) I hope this helps. Brian Millham Tommy, Helen and Paka This message has traveled at least 44,000 miles to reach you! http://www.millham.net br...@mi... > -----Original Message----- > From: per...@li... [mailto:perl- > win...@li...] On Behalf Of balayya > Sent: Tuesday, December 05, 2006 2:55 PM > To: per...@li... > Subject: [perl-win32-gui-users] What is the difference? >=20 >=20 > Greetings all, >=20 >=20 > I am a new user to this forum. I started learning Win32::GUI. I have a > small > question, not sure whether it fits here or not. >=20 > my $main =3D Win32::GUI::Window->new( > -name =3D> 'Main', > -width =3D> 100, > -height =3D> 100, > -text =3D> 'Perl', > ); >=20 >=20 > What is the difference between $main->Width() and = $main->ScaleWidth() > ?? >=20 > What does the -width =3D> 100 mean? >=20 > I have tested this by printing the values, they keep on increasing = with > the > size of the window, but with a constant difference. >=20 >=20 > Thanks in advance. >=20 > Maharathi. > -- > View this message in context: http://www.nabble.com/What-is-the- > difference--tf2763839.html#a7706577 > Sent from the perl-win32-gui-users mailing list archive at Nabble.com. >=20 >=20 > = -------------------------------------------------------------------------= > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to = share > your > opinions on IT & business topics through brief surveys - and earn cash > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0654-1, 12/07/2006 Tested on: 12/7/2006 8:45:45 PM avast! is copyright (c) 2000-2006 ALWIL Software. http://www.avast.com |