From: <pko...@me...> - 2002-02-25 17:24:41
|
That is strange, Eric. I have no problems with ActivePerl 5.6.1 Build 63= 1, Win32-GUI 0.0.558 and Perl2Exe 5.03. Perhaps you want to try my sources: http://sourceforge.net/projects/auctioneer/. I am making excessive use of ListViews. Hope, you find the problem, Peter > -----Urspr=FCngliche Nachricht----- > Von: per...@li... > [mailto:per...@li...]Im Auftrag von > Eric Hansen > Gesendet am: Montag, 25. Februar 2002 15:48 > An: per...@li... > Betreff: Re: [perl-win32-gui-users] ActivePerl 5.6.1 build 631 > withWin32-GUI 0.0.558 > > Peter, Thanks for the suggestion. For some reason, this is not > helping completelty. I am at least getting a border around my > ListView, but the columns and rows are still not working. I > wonder if Win32-GUI 0.0.558 binary build is not compatible with > 5.6.1/631 ActivePerl binary build? > > Also, I have found that the Terminate event for a GUI > Window/DialogBox causes a Windows illegal operation messagebox to > pop up if the application is compiled with Indigostar PERL2EXE > compiler version 5.03, the latest version for Perl 5.6.1. But > running an application with the Perl Interpreter for 5.6.1/631, I > don't get the error msg box upon the Terminate event firing. > > I am temporaily going back to earlier, more stable releases of > ActivePerl (i.e. 5.19), Win32-GUI (i.e. 0.0.434), and PERL2EXE > (i.e. 3.12) as of 1 year ago, the last time I upgraded. I had no > problems then. > > Eric > > > >>> "Peter K=F6ller" <pko...@me...> 02/23/02 02:05AM >>> > Hello Eric, > > I have a solution: Try to insert the magic spell "-style =3D> WS_CHILD = | > WS_VISIBLE | 1" in the AddListView. This worked for me. > > Peter > > > -----Urspr=FCngliche Nachricht----- > > Von: per...@li... > > [mailto:per...@li...]Im Auftrag v= on > > Eric Hansen > > Gesendet am: Freitag, 22. Februar 2002 20:05 > > An: per...@li... > > Betreff: [perl-win32-gui-users] ActivePerl 5.6.1 build 631 with > > Win32-GUI 0.0.558 > > > > I just uninstalled my old build of both ActivePerl and Win32-GUI > > and installed the latest releases. Rebooted and everything. > > Win32-GUI is not working right anymore???? I ran a small > > program (with a ListView, see below code) that ran fine with > > older releases of Perl and Win32-GUI, but runs like garbage with > > the new installs. The ListView looks like hell. I can't see the > > control at all, no borders, no column headers. All I see are the > > words "Apples Pears Oran..." all on the same row????? What I > > should see is a column header "FRUIT" and underneath that I > > should see Apples on the first row, Pears on the second row, and > > Oranges on the third row. Anybody tried the latest Perl build > > with latest Win32-GUI build and experienced any problems??? > > > > Thanks, > > Eric > > Dallas, TX USA > > > > use Win32::GUI; > > > > $W =3D new Win32::GUI::DialogBox( > > -name =3D> "Window", > > -text =3D> "ListView Test", > > -width =3D> 275, > > -height =3D> 250, > > -left =3D> 50, > > -top =3D> 50 > > ); > > > > $LV =3D $W->AddListView( > > -name =3D> "ListView", > > -left =3D> 12, > > -top =3D> 10, > > -height =3D> 200, > > -width =3D> 225, > > ); > > $LV->View(1); # detailed listing, i.e. columns and rows > > > > $W->Show(); > > $W->BringWindowToTop(); > > Load_ListView(); > > > > Win32::GUI::Dialog(); > > > > sub Load_ListView { > > $LV->InsertColumn(-index =3D> 1, -width =3D> 200, -text =3D> "FRUI= T"); > > > > $LV->InsertItem(-item =3D> 0, -text =3D> "Apples"); > > $LV->InsertItem(-item =3D> 1, -text =3D> "Pears"); > > $LV->InsertItem(-item =3D> 2, -text =3D> "Oranges"); > > } > > > > sub Window_Terminate { > > return -1; > > } > > > > #-- END SCRIPT > > > > > > _______________________________________________ > > Perl-Win32-GUI-Users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > > > > > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > |