Timothy Johnson wrote:
> Hi, I'm new to Win32::GUI, but I've been using Perl for a while.  I have
> been trying to go through a tutorial I found on the web, and I've
customized
> it a little bit, but not alot, so I can't figure out what's wrong.  Maybe
> I'm misunderstanding the method.  Anyway, below is my code, and what is
> happening is that my program is telling me that it can't un-hide the
window
> and then the cursor is showing an hourglass.  I don't want to add anything
> else until I figure out what I've already gotten wrong.

1. it says that you can't un-hide the window because you misunderstood the
return value from Show(). from the MSDN documentation for ShowWindow() at
http://msdn.microsoft.com/library/en-us/winui/windows_2tdj.asp the return
value for this function is:

  Nonzero indicates that the window was previously visible. Zero indicates
  that the window was previously hidden.

I'm just returning this value, so it doesn't mean success or failure.

2. the hourglass issue is a bug in version 0.0.665, I'm still looking on how
to solve it (help? anybody? ;-)


cheers,
Aldo

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


Reply via email to