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

Is it a requirement to use Win32::GUI?

If you really stuck with it, I can see into this later at evening after work, but please give me a smallest working piece of code that show us a problem.

Now, I just share my experience with similar things

- first, most obvious, use perlTk.

- second, use some known GUI framework such as C++builder and call perl functions from within it. I did so earlier and that was not bad: I managed variables to be "tied" directly into GUI screen, and changing of a perl variable changed a windowed control, and vice versa.

Courage, the Cowardly Dog

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

Replies are listed 'Best First'.
Re: Re: Win32::GUI -- Listview Display Problems
by talwyn (Monk) on Jul 03, 2002 at 22:54 UTC
    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

      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.

      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