Same problem for me.
I replace
$Window->AddDateTime(
with
new Win32::GUI::DateTime(
-parent => $Window,
And Tootip work on Button.
I don't see any NEM (New Event Model) availlable on DateTime Control in
Win32::GUI Source code.
Only generic event are available
-events => {
MouseMove => sub { print "MouseMove\n"; },
MouseDown => sub { print "MouseDown\n"; },
MouseUp => sub { print "MouseUp\n"; },
KeyDown => sub { print "KeyDown\n"; },
KeyUp => sub { print "KeyUp\n"; },
}
Laurent.
From: "Jeremy White"
Subject: RE: [perl-win32-gui-users] Tooltips - do they work?
> Thanks for the example, still not working...
>
> Also, I can't seem to get any of the events working when using the -event
> option in your example !?
>
> I'm using 665, perl 5.6, the binary from
> http://perso.club-internet.fr/rocherl/Win32GUI.html
>
> Bizarre stuff.
>
> Cheers,
>
> jez.