has anyone been successfull in getting tooltips to work?
I've played with them, but I always get the message that I'm trying to do
something to an undefined value. I tracked the problem down in GUI.pm, and
I found these two lines:
my $parent = $_[0];
my $new = Win32::GUI->_new(Win32::GUI::constant("WIN32__GUI__TOOLTIP", 0),
@_);
The first should have $_[1], as it is currently assigning
"Win32::GUI::Tooltip" to $parent, rather than the actual name of the parent
object. I tried fixing it, but my object still wouldn't initialize. (That
bad assignment is not actually causing any problems right now, but it
presumably will when the real problem is fixed.)
The real problem is that Win32::GUI->_new is returning undef, which is why I
get that error message. I looked in Win32::GUI->_new, and found that it is
returning undef due to the following line:
my $handle = Win32::GUI::Create($self, $type, @input);
It returns undef because nothing gets assigned to $handle. Unfortunately,
that line is calling something from either GUI.dll or GUI.lib, which I can't
do anything about (unless I learn C++ and get a compiler).
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com