[perl-win32-gui-users] Win32::GUI Dev PPM

2004-01-18 Thread Laurent ROCHER
Hi All,

I have made PPM build from Sourceforge Win32::GUI CVS.

I build it from my local dev directory with last CVS source (18/01/2004).

I have made 5.6 and 5.8 PPM (don't build for 5.005), and a source zip file from 
my dev directory.

See : http://perso.club-internet.fr/rocherl/Win32-GUI-Dev/index.html


Laurent

[perl-win32-gui-users] RE:Win32::GUI Dev PPM latest

2004-01-18 Thread Chris Wearn
Hi All,

Have 'checked out' the latest source code - branch Win32-GUI-0_0_670-fix
from SourceForge CVS (using Tortoise) and have also downloaded latest PPM
and Source from Laurents' website.

Have followed Laurents' instructions on installing MingGW to compile it...
all seems to work fine, except half way through the 'nmake' I get the
following error, which occurs using both the CVS checkout and Laurents' new
zipped source.

Any ideas on what is causing the following error (Using Windows 2000 sp3):

// cut //
C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib
C:\Perl\lib\ExtUtils/xsubpp  -typemap C:\Perl\lib\ExtUtils\type
map -typemap typemap Listbox.xs > Listbox.cpp








gcc -c-g -O2 -DWIN32 -DPERL_IMPLICIT_CONTEXT -DPERL_MSVCRT_READFIX -g -O
2-DVERSION=\"0.0.670\"  -DXS_VER
SION=\"0.0.670\" -DHASATTRIBUTE "-IC:\Perl\lib\CORE"  -D__MINGW__
Listbox.cpp
C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib
C:\Perl\lib\ExtUtils/xsubpp  -typemap C:\Perl\lib\ExtUtils\type
map -typemap typemap ListView.xs > ListView.cpp








gcc -c-g -O2 -DWIN32 -DPERL_IMPLICIT_CONTEXT -DPERL_MSVCRT_READFIX -g -O
2-DVERSION=\"0.0.670\"  -DXS_VER
SION=\"0.0.670\" -DHASATTRIBUTE "-IC:\Perl\lib\CORE"  -D__MINGW__
ListView.cpp
ListView.xs: In function `void
   XS_Win32__GUI__ListView_InsertItem(PerlInterpreter*, CV*)':
ListView.xs:285: `LVIF_INDENT' undeclared (first use this function)
ListView.xs:285: (Each undeclared identifier is reported only once for each
   function it appears in.)
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1'
Stop.

Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Laurent ROCHER
Sent: Sunday, 18 January 2004 8:01 PM
To: [EMAIL PROTECTED]; Win32GUI
Subject: [perl-win32-gui-users] Win32::GUI Dev PPM


Hi All,

I have made PPM build from Sourceforge Win32::GUI CVS.

I build it from my local dev directory with last CVS source (18/01/2004).

I have made 5.6 and 5.8 PPM (don't build for 5.005), and a source zip file
from my dev directory.

See : http://perso.club-internet.fr/rocherl/Win32-GUI-Dev/index.html


Laurent




[perl-win32-gui-users] Image change

2004-01-18 Thread Chris
Okay, I've created a label. Now when I first make it, I have a image set to
it and make it so it can be clicked on. Now, my problem is when I click on
the image, I actually want to change it to a different image. If someone
could help me with this, it would be very useful. 

Thanks Chris





[perl-win32-gui-users] Statusbar example

2004-01-18 Thread Chris Wearn
Hi All

Having trouble with the new Statusbar additions:

tried different combinations of PARTS to start dividing, but no matter what
I've tried nothing seems to work. What order do the methods need to be
called?

I've had a look at MSDN Status Bars and read the notes that Steve posted on
announcing the enhancements. Confused in that MSDN says that Parts is
(nParts[array of widths])

I've tried $Window_Status->Parts([200,100,-1]); and
Parts(3,[200,100,-1])

Can someone add a few of the methods to the example below.

Chris


# 

use Win32::GUI;

my $Window = new GUI::Window(
-title  => "Statusbar example",
-left   => 100,
-top=> 100,
-width  => 400,
-height => 200,
-name   => "Window",
-events =>{
Terminate => sub { return -1 },
 }
);

# Add a Status Bar
my $Window_Status = $Window->AddStatusBar(
-name => "Window_Status",
-text => "Panel 1"
);

$Window->Show;
Win32::GUI::Dialog;