#require AutoLoader;
our @ISA = qw(Exporter);
- our $VERSION = "1.03";
+ our $VERSION = "1.06";
XSLoader::load('OS2::Process', $VERSION);
}
sub sw_entries () {
my $s = swentries_list();
my ($c, $s1) = unpack 'La*', $s;
- die "Unconsistent size in swentries_list()" unless 4+$c*$swentry_size == length $s;
+ die "Inconsistent size in swentries_list()" unless 4+$c*$swentry_size == length $s;
my (@l, $e);
push @l, $e while $e = substr $s1, 0, $swentry_size, '';
@l;
relationship affects drawing (child is drawn relative to its parent
(lower-left corner), and the drawing is clipped by the parent's
boundary; parent may request that I<it's> drawing is clipped to be
-confined to the outsize of the childs and/or siblings' windows);
+confined to the outsize of the child's and/or siblings' windows);
hiding; minimizing/restoring; and destroying windows.
Another tree (not necessarily connected?) is given by I<ownership>
Same as C<WindowPos_set>, but takes the position from keys C<fl width height
x y behind hwnd> of the hash referenced by $hash. If $hwnd is explicitly
-specified, it overrides C<$hash->{hwnd}>. If $hash->{flags} is not specified,
+specified, it overrides C<< $hash->{hwnd} >>. If $hash->{flags} is not specified,
it is calculated basing on the existing keys of $hash. Requires (morphing to) PM.
Example:
Set the window enabled state. Default: $enable is TRUE.
Results in C<WM_ENABLED> message sent to the window. Typically, this
-would change the appearence of the window. If at the moment of disabling
+would change the appearance of the window. If at the moment of disabling
focus is in the window (or a descendant), focus is lost (no focus anywhere).
If focus is needed, it can be reassigned explicitly later.
the largest continuous region of memory belonging to the same memory object
as $addr, and having the same memory flags as $addr. $flags is the value of
the memory flag of $addr (see docs of DosQueryMem(3) for details). If
-optional argumetn $size_lim is given, the search is restricted to the region
+optional argument $size_lim is given, the search is restricted to the region
this many bytes long (after $addr).
($addr and $size are rounded so that all the memory pages containing
the region are inspected.) Optional argument $interrupt (defaults to 1)
-specifies whether region scan should be interruptable by signals.
+specifies whether region scan should be interruptible by signals.
=back
specify the owner as the parent if this option is used.
Additionally, the following flag is possible, but probably not very useful:
-
- Help button
+
+ Help button
MB_HELP a HELP button appears, which sends a WM_HELP
message is sent to the window procedure of the
message box.