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 [EMAIL PROTECTED] > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:perl- > [EMAIL PROTECTED] On Behalf Of balayya > Sent: Tuesday, December 05, 2006 2:55 PM > To: perl-win32-gui-users@lists.sourceforge.net > Subject: [perl-win32-gui-users] What is the difference? > > > Greetings all, > > > 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. > > my $main = Win32::GUI::Window->new( > -name => 'Main', > -width => 100, > -height => 100, > -text => 'Perl', > ); > > > What is the difference between $main->Width() and $main->ScaleWidth() > ?? > > What does the -width => 100 mean? > > I have tested this by printing the values, they keep on increasing with > the > size of the window, but with a constant difference. > > > Thanks in advance. > > 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. > > > ------------------------------------------------------------------------- > 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=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > 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