BrowserUk,

there is a difficult in what you say here: Win32::GUI itself makes heavy usage of that "extra" window words for its own business. they're used to store pointers to Perl callbacks, window properties that are not directly related to the underlying API (eg. which event model to use), and lot of other stuff that just makes Win32::GUI works. so it's not advisable at all to use Get/SetWindowLong() unless you have a very, very deep knowledge of the module's guts.

the functions are there because I think if someone wants to hack deeply, he should be able to do it. but they're not for everyone (or "for the faint of heart", as they say :-). this should've been made clearer in the docs, but you all know what a mess the docs are at this point, don't you?

so I would suggest to talwyn: go the Perlish way, store the results somewhere in Perl (one global hash would be my best bet).

cheers,
Aldo

__END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

In reply to Re: Re: win32::Gui -- Paradigm problem...How do you get info back from a dialog? by dada
in thread win32::Gui -- Paradigm problem...How do you get info back from a dialog? by talwyn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.