Re: [perl-win32-gui-users] Centering a window

2002-03-22 Thread Glenn Linderman
Jeremy Blonde wrote: > > Here's how I'm doing it. The code is borrowed from someone else, perhaps > Aldo's examples. > > $SCR_WIDTH = Win32::GUI::GetSystemMetrics(0); > $SCR_HEIGHT = Win32::GUI::GetSystemMetrics(1); > > $WIDTH = 350;# Window Width > $HEIGHT = 250;# Window Height > >

Re: [perl-win32-gui-users] Centering a window

2002-03-22 Thread Felice Vittoria
Thanks :) -- On Fri, 22 Mar 2002 11:26:48 Jeremy Blonde wrote: >Here's how I'm doing it. The code is borrowed from someone else, perhaps >Aldo's examples. > >$SCR_WIDTH = Win32::GUI::GetSystemMetrics(0); >$SCR_HEIGHT = Win32::GUI::GetSystemMetrics(1); > >$WIDTH = 350;# Window Width >$HEI

Re: [perl-win32-gui-users] Centering a window

2002-03-22 Thread Jeremy Blonde
Here's how I'm doing it. The code is borrowed from someone else, perhaps Aldo's examples. $SCR_WIDTH = Win32::GUI::GetSystemMetrics(0); $SCR_HEIGHT = Win32::GUI::GetSystemMetrics(1); $WIDTH = 350;# Window Width $HEIGHT = 250;# Window Height $LEFT = ($SCR_WIDTH/2) - ($WIDTH}/2); $TOP =

[perl-win32-gui-users] Add ActiveX Hosting to Win32::GUI

2002-03-22 Thread Laurent ROCHER
Hello, I am working on a new package for add ActiveX hosting to Win32::GUI. I have made some test with Webbrowser (Internet Explorer) and it's work nice. I am on Win98Se, ActivePerl56 build 628, Win32::GUI 0.665 and IE 5.5 With this package, you can : - Create a window wi

[perl-win32-gui-users] Centering a window

2002-03-22 Thread Felice Vittoria
Hello all, I remember seeing this info somewhere but I forgot. How do you center a window? Note: I'm using Win32-GUI v0.0.665 TIA, Felice 2,000,000,000 Web Pages--you only need 1. Save time with My Lycos. http://my.lycos.com

Re: [perl-win32-gui-users] Win32-GUI Applications causing ILLEGAL OPERATION

2002-03-22 Thread Aldo Calpini
Piske, Harald wrote: > I know that previous versions of GUI were fault-tolerant towards missing > -name parameters, which 558 is NOT. BTW, release 0.0.665 is fault-tolerant towards missing -name parameters. this bug was introduced in release 0.0.558 and is now gone away. cheers, Aldo __END__ $_