I tried your solution to the "Behavior of bottom edge (full screen)" (see
original message appended and it works. It would have taken awhile to
discover that action sequence so thanks a bunch. The obvious drawback to
this solution is, of course, that if I change the height of the taskbar or
the resolution of the screen, I have to manually adjust the bar that is
"docked" above it... kind'a inelegant. So I figured I could overcome that
and I am pretty close. However, I have a little problem. If the following
code is installed into a HookWindowEvents command list and the taskbar's
height is changed via a drag operation, the value for "top" returned by the
windows("top","taskbar") method is always the value for the taskbar as it
was before the height change was executed.

That arrangement makes it kind'a hard to use the hook in this manner.

Here is the code:

if (arg(1) == 0 and arg(3) == "Shell_TrayWnd")
  if (window("topmost","taskbar")) Do
    ;local sb_height = window("height", "SystemBar1")
    ;local width = window("width","taskbar")
    local height = window("height","taskbar")
    local top = window("top","taskbar")-sb_height
    ;local left = window("left","taskbar")
    ;local tb_top = window("top","taskbar")
    Win.Debug("height = "++height++" top = " ++ top)
    ;window.position(left++" "++top++" "++width++" = SystemBar1")
  endif
Endif

When I make the task bar taller I get 33 for the taskbar's height and when I
make it shorter I get 55... Which are the correct heights for the two
taskbar states, just not delivered when they ought'ta be.

Any ideas?

---------------------------
ORINGAL MESSAGE follows;

Message 13
    From: "brucexs" [EMAIL PROTECTED]
    Date: Thu May 18, 2006 3:51pm(PDT)
Subject: Re: Behavior of bottom edge (full screen)

> When I set Configure.Command Lists.Properties.Bars.Position
to "bottom
> edge(full screen)", the affected bar is positioned underneath (z-
order
> wise) the task bar... given that the taskbar autohide option is
> disabled and the taskbar is set to always-on-top... which is, for
this
> issue, a given.
>
> What I expected is that the bar would dock at the top of the taskbar.
> Why is this not the preferred behavior?

PowerPro just follows the default Windows system behaviour when you
ask it to position a bar full screen at bottom

You can work around this with a little bit more, non-obvious, work.

1.  Uncheck command lists|setup|all bars tab|move bar to edge for
screen positions.
2.  Ctrl-right click bar, select Position|floating from menu.
3.  Ctrl right-click bar, select Look|3d Frame.
4.  Left drag bar to desired position (you may have to hold down ctrl
key, depending on your settings).
5.  Drag frame of bar to get desired size.
6.  If desired, ctrl-right click and uncheck 3d frame from menu.
7.  Ctrl-right click, select Position|Bottom Edge (Current Size)




Attention: PowerPro's Web site has moved: http://www.ppro.org



SPONSORED LINKS
Computer monitoring software Power pro Computer and internet software
Free computer monitoring software


YAHOO! GROUPS LINKS




Reply via email to