in reply to Re: Win32::GUI -- Listview Display Problems
in thread Win32::GUI -- Listview Display Problems

Courage:

Using your header/Footer from the other day I constructed a Win32::Gui to reconstruct the problem.

I couldn't duplicate the problem. So then I created another Guiloft version to see if the problem resided in that module. Again I couldn't duplicate the problem.

Next I wrote a wrapper around my original guiloft window, still couldn't reproduce the problem.

So finally I went through my code and noticed that I had neglected to duplicate the $listview->Update() method to my tests... After I commented out all occurences of $listview->Update()in my program the listview behaves properly.

I hope dada documents the proper use of Update() in his next Beta cycle ... I was confused especially since I was using finddata.pl as an example of the various things gui does. It makes use of Update() several times.

Thanks again for your help.

Talwyn

  • Comment on Re: Re: Win32::GUI -- Listview Display Problems

Replies are listed 'Best First'.
Re: Re: Re: Win32::GUI -- Listview Display Problems
by Courage (Parson) on Jul 03, 2002 at 23:03 UTC
    I faced similar problems several years ago when did such type of programming, and that is why I suggested you to try perl/Tk and may be other GUI/C++ framework and perl embed into it. Beleive me, the deeper you go into Win32::GUI the more problem you will get!

    At least you should not develop *serious* application with this module.
    Otherwise something bad is going to happen! (okay, I'm joking)

    Best wishes,
    Courage, the Cowardly Dog.

Re: Re: Re: Win32::GUI -- Listview Display Problems
by dws (Chancellor) on Jul 03, 2002 at 23:17 UTC
    Would one of you please post working code, so that others following this thread can see what needed to be done? Thanks.

      dws,

      I'll see if I can recreate the problem in win32::gui code. However I suspect the problem may be some interaction/sideeffect from Guiloft. Guiloft automates a great portion of the work required to set windows up. and stores that info in binary files.

      If I can create broken code I'll post it and the changes needed to fix it.

      My original program has changed in form quite a bit and I am not using versioning software so I will have to try and deliberately write some broken code.

      Talwyn