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
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
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
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"
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
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,
6 matches
Mail list logo