Hirmke Michael wrote:
> Just a small hint regarding your online documentation.
> For the "Show" function, the following COMMANDs are listed:
>
> [...]
>
> SW should be WS I think.
no, no, "SW" stands for ShowWindow. "WS", instead, stands
for Window Style.
> Besides that, a few of them are not in the export list in GUI.pm
> such as WS_SHOWMAXIMIZED. I use version 0.0.434.
whoops... none of them are exported ;-)
as I discussed before, I'm sometimes very dubious about the
goodness of exporting tons of constants from the Microsoft
header files... and documenting them all :-(
anyway, here are the numerical counterparts for the SW_*
constants, hope this helps a little:
0 = SW_HIDE
1 = SW_SHOWNORMAL
2 = SW_SHOWMINIMIZED
3 = SW_MAXIMIZE, SW_SHOWMAXIMIZED
4 = SW_SHOWNOACTIVATE
5 = SW_SHOW
6 = SW_MINIMIZE
7 = SW_SHOWMINNOACTIVE
8 = SW_SHOWNA
9 = SW_RESTORE
10 = SW_SHOWDEFAULT
cheers,
Aldo
__END__
# Aldo Calpini
%_ = split undef, join ' ', qw(fahokem
xritajbugne csuctawer jhdtlrnpqloevkshpr
); print map $_{$_}, sort keys %_;