Re: [perl-win32-gui-hackers] AxWindow compile fails with C2440 error on Visual Studio 2005

2007-03-16 Thread Blair Sutton
I have resolved this by disabling STRICT type checking. I.e. remove -DNO_STRICT from Makefile. Blair Sutton wrote: Whilst trying to compile AxWindow module from Win32:GUI 1.05 on Visual Studio 2005 I get the following error:- C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE

[perl-win32-gui-hackers] AxWindow compile fails with C2440 error on Visual Studio 2005

2007-03-14 Thread Blair Sutton
Whilst trying to compile AxWindow module from Win32:GUI 1.05 on Visual Studio 2005 I get the following error:- C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE\atlwin.h(3281) : error C2440: 'return' : cannot convert from 'INT_PTR (__stdcall *)(HWND, UINT,WPARAM,LPARAM)' to 'DLGPRO

[perl-win32-gui-hackers] Win32::GUI::Button align problem

2004-10-07 Thread Blair Sutton
I've noticed that the button attribute "align" breaks if you specify "center", if empty it works (i.e. default). use Win32::GUI; my $W = new GUI::Window(-height=>100,-width=>100); my $B = $W->AddButton(-text=>'Test', -width=>'100', -align=>'center'); $W->Center(); $W->Show(); Win32::GUI::Dialog

[perl-win32-gui-hackers] Fwd: About time for a release?

2004-09-29 Thread Blair Sutton
oper releases on CPAN. So we could use versions like "0.9_01" if we wish. Blair --Forwarded message -- From: "Blair Sutton" <[EMAIL PROTECTED]> To: "perl Win32::GUI Users" <[EMAIL PROTECTED]>, "perl Win32::GUI Hackers"

[perl-win32-gui-hackers] About time for a release?

2004-09-18 Thread Blair Sutton
Hi all, Just wondering when we might get a new release of Win32::GUI. I notice the files on the Sourceforge homepage are v671 and CPAN still has v558 but i've been using v681 from CVS quite sucessfully now with Win32::GUI::XMLBuilder 0.36 with no problems. I would like to make this release (WG

[perl-win32-gui-hackers] AcceleratorTable documentation error

2004-06-11 Thread Blair Sutton
The docs suggest "Shift-3" should work but in fact you need a reference! snip---> use Win32::GUI; $A = new Win32::GUI::AcceleratorTable( "Shift-1" => \&S1, "Shift-2" => sub { $W->Caption("Shift-2"); }, "Shift-3" => "S3", ); $W = new Win32::GUI::Window(-accel => $A,