David Hiltz wrote:
> I was trying to get the concepts down first then I would worry about
> adding features and making it look good.
it's *kewl*! :-)
the problem you have, I guess, are related to Left() and Top() methods
being changed for child windows. coordinates are now relative (to the
parent window) while they used to be absolute (screen) coordinates.
> Two major known problems:
>
> Win32::GUI needs to support mouse events (single click, double click,
> right click, left click and drag, etc). Keyboard events (key was
> pressed) would also be nice.
I would implement 'controls' as (subclassed) Win32::GUI::Graphic objects.
will look further into it. I will also look into drag'n'drop.
> The 'Win32::GUI::GetClassName' call tells me that radiobuttons,
> checkboxes, borders and buttons are of type button. Need to be able
> to distinguish between them. I started a hack for this by recording
> the specific object type at creation time, but that does not help
> me when I read in an existing layout.
try:
ref $DWin->{$child};
it returns the Perl object class (eg. Win32::GUI::Button, etc.)
> If I could get these two solved, I might be inspired to return to the
> project.
please be inspired! ;-)
cheers,
Aldo
__END__
# Aldo Calpini
%_ = split undef, join ' ', qw(fahokem
xritajbugne csuctawer jhdtlrnpqloevkshpr
); print map $_{$_}, sort keys %_;