Jenda Krynicky wrote:
> Wouldn't it suffice if you include some default styles? So that we do 
> not have to remember all the constants necessary for this or that, 
> but only change the default that would be used if we would not use 
> -style.
> 
> So instead of 
> 
>  -style => WS_VISIBLE | WS_VSCROLL | 3 | WS_TABSTOP,
> 
> we would write
> 
>  -style => DEFAULT_LISTBOX_STYLE | WS_TABSTOP,
> 
> Or maybe
> 
>  -styleAND => WS_TABSTOP,
>  -stypeANDNOT => ...
> 
> Or something else ?

goood point, Jenda, *very* good point! ;-)
I'm currently thinking about:

    -addstyle => ...
    -addexstyle => ...

and their counterparts:

    -notstyle => ...
    -notexstyle => ...

if someone comes up with nicer names, let me know, otherwise
I'll throw them in as they are!

cheers,
Aldo

__END__
# Aldo Calpini
%_ = split undef, join ' ', qw(fahokem 
xritajbugne csuctawer jhdtlrnpqloevkshpr
); print map $_{$_}, sort keys %_;




Reply via email to