[perl-win32-gui-users] Topmost Windows?

2003-02-03 Thread Steven Swenson
How does one get a window to sit on top? I tried the following but it did not seem to work. use strict; use constant WS_EX_TOPMOST => 8; use constant WS_DLGFRAME => 0x40; use constant GWL_EXSTYLE => -20; my $main = Win32::GUI::DialogBox->new( -name=> "Main", -title => "AD Mig

[perl-win32-gui-users] Even more on accelerators

2003-02-03 Thread Glenn Linderman
Hi, Am I really confused, or are accelerators really, really broken? Some reasonings that have led me to the conclusion accelerators are really, really broken include: (1) Win32::GUI::AcceleratorTable pushes a global variable $id for each of the keystrokes in the accelerator table, resultin

Re: [perl-win32-gui-users] window position

2003-02-03 Thread markd
GetWindowRect() Returns a four elements array defining the windows rectangle (left, top, right, bottom) or undef on errors.

[perl-win32-gui-users] More on accelerators

2003-02-03 Thread Glenn Linderman
Hi, Re: Win32::GUI 0.0.665 It appears that the code to implement accelerators doesn't even exist for the New Event Model. A DoEvent_NEM_Acc function is mentioned in some commented out code, but the function doesn't exist in the distributed source code. -- Glenn = Not everything that is

[perl-win32-gui-users] Bug in Win32::GUI 0.0.665 ???

2003-02-03 Thread Glenn Linderman
Hi, I have a program that uses Win32::GUI, and in several places, it uses a DoEvents loop, and text boxes processed by that DoEvents loop seem to result in doubled characters. I don't recall that happening in earlier versions of Win32::GUI, does anyone else? So I recompiled Win32::GUI with

[perl-win32-gui-users] gui perl file extension

2003-02-03 Thread Peter Eisengrein
Is there a file extension currently in use for Win32::GUI scripts? If so, what? If not, should there be? I know it would make it easier (for me :) to list just those scripts if they used a different extension than the standard .pl . It would also make it easier to know when to use perl and when to

[perl-win32-gui-users] window position

2003-02-03 Thread stuff
Hi, Is there a way to get the position (like -top and -left) of a window? Thanks, StG